Question
SIS Consulting
BR
Last activity: 16 Aug 2019 15:56 EDT
Refreshing section from declare trigger
My Pega application receives data from another application using Pega API to create the case, and route an assignment to a workbasket. An operator will then process this assignment and see the data received by the application on the screen and fill in some data and take an action to move the case forward.
Now, I have a tricky requirement that is, if there is an update on the other system it updates the pega case using the API. The problem arises when the user has the case open and has data filled in the form. I have created an activity that refreshes the screen without loosing the data in the form. But this needs to be performed using a button. The customer requested that this be implemented without user interaction.
So, how can I use a declare trigger to refresh the section being used by the operator and call my activity, when the case is updated from the API (which uses a different user to update the case)?