Srinivas Yelamanchili (yelas1)
Senior System Architect
Pegasystems Inc.
yelas1 Member since 2014 76 posts
Posted: November 29, 2016
Last activity: August 1, 2017
Posted: 29 Nov 2016 10:54 EST
Last activity: 1 Aug 2017 10:40 EDT

Declare OnChange

We have a decision rule type 'Declare OnChange' to watch property .pyStatusWork

This rule calls an activity to write to log file whenever the work status change from/to 'Complete' (for example 'In Progress to Complete' or 'Complete to In Progress').

We enabled this logging so as to debug why in some instances a case does not end up in Complete status.

We found few cases where the work and history (audit) tables do not show that the work object has moved to Complete, even though the above logging says it did. How is this possible?

When does Declare OnChange fire? Is it after the change or before the change of the watched property?

Is it possible that it fired for 'In Progress' to 'Complete' change but the change wasn't successfull and reverted? Where to find these details (can't find any error and audit doesn't show these)


***Moderator Edit: Vidyaranjan | Updated thread with SR details and tagged thread as SR Created***

Data Integration Java and Activities Support Case Created
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.