We have an activity which triggers a Connect-REST integration call. The response received from the other system is huge; The activity also process the response data and store the data in our database.
Currently, this activity is called synchronously - Users will hit the on-screen refresh button, the activity will be called, data will be received from the other system, processed and stored in the database, then the updated values will be displayed in the UI.
As said earlier, since the response received is huge, and post processing of data is also involved, because of which, UI timeout happens for the user session.
To avoid the timeout issue, we are invoking the same activity through a Data-Page, referring the data page from an asynchronous activity using Load-Datapage method. The activity runs properly, gets the response, processes the data and stores it in DB.
However, as this activity is running asynchronously on a different requestor, the updated data is not available in the UI,
Do we have way to update the UI once the updated data is available in the DB?