Skip to main content
sarathkumr268295
April 9, 2025
Question

Handling Real Time updates in UI

  • April 9, 2025
  • 10 replies
  • 0 views

Hi All,
We have an application which will receive various details from an external system including primary keys for documents which are used for retrieving documents from another system. We receive these details via an API and a task is created for the user to process the same. When the task is being processed by the user, the external system might update the data again which includes adding or removing documents. Since the task is opened by the user, he will never know whether some update has happened to the task or not. We thought of using some refresh variable but it does not seem to be a viable solution. Also it might lead to performance issues since the number of users and number of tasks will be high. Is there any way to handle real time updates and show them in UI?? Any suggestions would be helpful 

10 replies

varuntejg243705
April 9, 2025

Hi [mention:b08a9915dde2428e9c6dfef8cba0cdd6:e9ed411860ed4f2ba0265705b8793d05] ,

I don't think you can make an realtime updates in an interface without using a refresh variable.
As you said it might cause performance issues, if refresh always true, I suggest you to use a button that triggers refreshing of the data from external system, It's not possible with any other method except using a!refreshVariable().

Please let me know if you still had something to know....

sarathkumr268295
April 9, 2025

I think you are suggesting Appian to call external system instead of them calling/updating Appian. 

Is there any other way to handle this because users dont want this extra clicks to be done.

We are suggesting to create new case/task by cancelling existing one so that we dont have any performance issue or anything unknown to us as of now.

stefanhelzle0001
April 9, 2025
number of users and number of tasks will be high

What does this mean? The number of users and tasks does not matter on its own, the number of users looking at such a task at the same time matters.

sarathkumr268295
April 9, 2025

The number of users working on open tasks can be huge number at the same time and its expected to increase in upcoming months.

stefanhelzle0001
April 9, 2025

OK. Then I suggest to discuss this with Appian.

BTW, what happens when there is a new document for a case after the task is completed? Can you give us a more insight into the nature of this task?