Automatically refresh number of cases in user's work list in UI in Pega 7.1.8
Hi I am working on a functionality where we display a link (like "My Cases(8)" where 8 is the number cases in the user's work list with a particular status). The part I am not able to figure out is that how to refresh the number automatically in UI whenever another case is added to the user's worklist with the particular status or whenever it is removed from the user's worklist.
What I tried to do is have the case count inside a requestor lever data page by querying the db and whenever the case status changes i refresh the data page. While including the link in the section I gave a condition like Refresh when the property in data page changes. By doing this I am able to refresh the value in clipboard but the same is not getting reflected in UI. It refreshes in the UI only when we click the link or launch a new tab.
Is there any way to automatically refresh the value in UI?