Bhagyashree Choudhary (BhagyashreeC8894)

BhagyashreeC8894 Member since 2016 9 posts
Posted: October 11, 2017
Last activity: October 12, 2017
Posted: 11 Oct 2017 12:28 EDT
Last activity: 12 Oct 2017 11:37 EDT

Declare Trigger Activity on Assign- , NULL values on WorkPage during processing


Requirement: We are running a declare trigger on (Committed Save) of Assign- class and When (Some Properties are Modified) of Work Class. In the invoked activity we are setting several properties from the WorkPage. However, we are facing two different issues at different times:

1. During some scenarios- WorkPage has a NULL value of pxUpdateDateTime and resulting in a invalid date time error at the step we are copying this in the invoked activity to another page. This is happening when we are trying to resolve the case that too only during certain specific scenarios. (Using a custom Resolve icon- however it calls the same Pega Resolve flow- unable to find the root cause so far).

2. During some scenarios- WorkPage itself doesnt exist.

I am aware that during declarative rules, actual commit might happen a little later than when the activity is invoked. But am unsure how to debug which scenario is this and how to handle. Its important for us to fetch the WorkPage details during the invoked activity itself.

These issues are only observed in PROD and we are unable to reproduce even in UAT.

Please help!



Low-Code App Development Data Integration Java and Activities Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.