How to Refresh an Entire Interface After a Process Model Execution?

I am working on a project where I need to refresh an entire interface after a process model has completed execution. I need to ensure that once this process model finishes executing, the associated interface is refreshed to reflect any changes.

I have tried using the onSuccess property to trigger a refresh, but unfortunately, I have not been successful with this approach.



I would appreciate any advice or examples on how to implement this, whether it involves using specific Appian components, plugins, configurations, or a combination of approaches.

Thank you in advance for your assistance!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Question is what is on that interface:  do you have only grid with data, form, dropdowns, etc? Without knowing how entire ui looks like it is hard to give one solution for that.

    One of the solution is to change some local value on Success (as you tried) and then have other data defined as variable that are refreshed based on that local value. In other words your grid is defined as refresh variable that relay on local!refreshcounter. Whenever your process finish you take same local!refreshcounter and change it value to something different. In this way your grid data will be refreshed.

    docs.appian.com/.../fnc_evaluation_a_refreshvariable.html

Reply
  • 0
    Certified Senior Developer

    Question is what is on that interface:  do you have only grid with data, form, dropdowns, etc? Without knowing how entire ui looks like it is hard to give one solution for that.

    One of the solution is to change some local value on Success (as you tried) and then have other data defined as variable that are refreshed based on that local value. In other words your grid is defined as refresh variable that relay on local!refreshcounter. Whenever your process finish you take same local!refreshcounter and change it value to something different. In this way your grid data will be refreshed.

    docs.appian.com/.../fnc_evaluation_a_refreshvariable.html

Children
No Data