Question

1
Replies
49
Views
danprashant Member since 2015 5 posts
Capgemini
Posted: 1 month ago
Last activity: 1 month ago

Asynchronously call an Activity from a DataPage using Load-DataPage method

Hello,

 

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?

 

Regards,

Prashant

Pega Platform 7.4 Data Integration Java and Activities Technology Services Senior System Architect
Share this page LinkedIn