Question

1
Replies
17
Views
Chakravorty Amit (AMITTUTUN)
Capgemini

Capgemini
SE
AMITTUTUN Member since 2011 66 posts
Capgemini
Posted: 3 weeks 1 day ago
Last activity: 2 weeks 5 days ago
Posted: 7 Jul 2021 11:24 EDT
Last activity: 10 Jul 2021 18:23 EDT

Open work item action when condition is not running at runtime

Hi , I have added a when condition in Open Work Item. The work item is created in the previous action "Run Activity" and then the generated work item id is passed as clipboard page property in Open Work Item. But sometimes the ID may be blank and in that scenario we dont need to call Open Work Item. I have added when condition for checking if the ID is blank. But the problem is when condition is evaluated during section rendering time not at runtime. As a result Open Work Item does not work in first click. On second click when the ID is already populated in clipboard its opening. Do anyone have any ways to mitigate the issue?

Pega Platform User Experience Financial Services Senior System Architect