Question

1
Replies
369
Views
AliceC88 Member since 2018 1 post
Gamma Innovation
Posted: April 5, 2019
Last activity: May 13, 2019
Closed

Automatic refresh a widget

Hi!

I have a widget containing the name of Workbaskets assigned to the operator and the sum of tasks in each of those workbaskets.

I need the section containing the widget to be automatically refreshed every time a new task is assigned to one of those workbaskets.

Refreshing the harness is not a possibility.

I tried 2 solutions:

1) On the section, I created an action set where the event was On load, the action was calling a channel for new tasks and refreshing the section.

2) I put the following condition on Refresh condition of the section: Declare_pzRecentsCache.pxUpdateDateTime Changes (following some community posts)

Both of them seem not working.

I think I need a javascript however, I don't know how to refresh just one section.

Any ideas?

Pega Platform Low-Code App Development User Interface
Moderation Team has archived post
Share this page LinkedIn