How can I show the updated values without refresh?

I have a process model where I call several apis and write result to table, the process model is long so I didn't chain it.

But user want to see the values updated by the process model when the process is completed, without refresh. Or at least tell user when to refresh, meaning we have to make a flag indicating the whole process is completed.

How can I do that?

I tried to write a flag at the end of each sub-process and make it a refresh variable in my interface, hoping it'll refresh to its latest value. But it didn't work

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    If this process takes more time than users would want to wait for, I suggest to think about a different way of notification. E.g. an email.

    To refresh data from that UI to display data from the process, you can use a process report and a!queryProcessAnalytics() to fetch data from the active process instance. Set the refresh interval to 30 seconds. And you might want to add a button to allow the user to refresh manually.

Reply
  • 0
    Certified Lead Developer

    If this process takes more time than users would want to wait for, I suggest to think about a different way of notification. E.g. an email.

    To refresh data from that UI to display data from the process, you can use a process report and a!queryProcessAnalytics() to fetch data from the active process instance. Set the refresh interval to 30 seconds. And you might want to add a button to allow the user to refresh manually.

Children
No Data