Question
Declare Trigger Activity not committing Property value.
In my application one declare trigger triggers every time when any work object saves and committed. This declare trigger is running two times when i resolve any work object. In declare trigger we are setting one property "CaseResolveDate as pyresolvedtimestamp".
Now question is - (1) Why declare trigger is triggering two times? how can I find root cause? In tracer its triggering twice continuously.
(2) When the declare trigger runs first time, in pyWorkPage, CaseResolvedDate is not present, in this activity we are setting the CaseResolveDate and in clipboard page and pyWorkpage it is setting that value.
But second time when Trigger activity runs, the pyWorkPage should have that value. But It is not present in pyWorkPage. The pyWorkPage of second trigger is same as first trigger. Please help.
***Edited by Moderator Marissa to move from Pega Academy to Pega Support Community; updated platform capability tags***
Hello,
Which version of PRPC/Pega are you using?
Does this same behavior occur in all environments?
Did you test after clearing the declarative network?
When using Tracer which Event Types were selected? There is OOTB logging available which you can turn on in a non-Production environment to debug in more detail.