Hi All,
I am facing the problem with the grid data. I am adding the data to the grid using data store entity smart service. It is added to the table but the data in the grid is not auto refreshed. Can anyone please suggest how to resolve this.
Thank you
Discussion posts and replies are publicly visible
shubhamy0001
Where is this grid data shown? Record View or somewhere else?
How are you adding the grid data? Is it through the related action or something else?
If you can, explain more on your use-case someone should be able to assist?
vimalkumars : the grid data is populated from a database view through an expression rule and the grid is shown in the interface.
Can you confirm that the data is making it to the UI by using the same expression rule to populate a local variable in the UI?
Yes the data is populated to the UI using the same expression rule, but after manually refreshing the browser.
I think this describes the failing scenario. So you have the UI open you are viewing data in the grid. Data changes in the db. Grid does not auto-refresh to reflect the change in the db.
Are you using RefreshVariable to trigger the refresh? If so can you paste that code?
This might help: https://community.appian.com/discussions/f/user-interface/17500/local-variable-calling-rule-not-updating-when-referenced-variable-updated/79364#79364