Question

1
Replies
76
Views
BhagyashreeC8894 Member since 2016 9 posts
Cognizant
Posted: 3 years ago
Last activity: 3 years ago
Closed

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

Hi,

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!

Regards,

Bhagyashree

Low-Code App Development Data Integration Java and Activities Case Management
Moderation Team has archived post
Share this page LinkedIn