Skip to main content
March 14, 2023
Question

How to update data shown in a view following a related action from the view?

  • March 14, 2023
  • 5 replies
  • 0 views

Hi,

On a entity backed record a related action has been defined to set a status flag on the record to canceled.
When user choses the related action from a (summary) view, the related action is performed and returns to the same (summary) view. i.e. writes to db a status of canceled
The changes made by the related action are not reflected on the view. i.e. status is not set to canceled although the status flag in the database has been set correctly.
Refreshing the browser page then correctly displays the view with the record at canceled status.

Any help much appreciated

Thanks

    5 replies

    March 14, 2023

    Hi [mention:b60272f2d0a34b85af941a46826e6619:e9ed411860ed4f2ba0265705b8793d05],

    Add chaining in the process before writing into DSE.

    harshitb6843
    March 14, 2023

    Now to understand why it happens, your interface loads before the data was written. So chaining will help you make sure that the interface only displays after the last chained node, hence ensuring that you always see the updated data, 

    March 14, 2023

    Yass, all the nodes which are chained will get executed first and then interface will load.

    Participating Frequently
    March 14, 2023

    Hi, make sure chaining is applied in your process model or it is not breaking