Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

About Declare OnChange rules

Updated on November 15, 2021

Create Declare OnChange rules to run an activity automatically at activity step boundaries when the value of a specified property changes. This capability provides a form of automatic forward chaining.

The following tabs are available on this form:

For example, a Declare OnChange rule can update a year-to-date counter property (an integer) to track how many times a work item status changed in value. Another Declare OnChange rule can compute the average dollar amount of work items entered by a team, in real time.

Declare OnChange rules can force all processing on a work item to be suspended pending an independent review of the situation. The independent review is supported by one or more flows. This feature can support compliance, fraud detection, and quality control staffs.

Where referenced

No other rules explicitly reference Declare OnChange rules. After you save a Declare OnChange rule, it is run immediately and as needed.

Access

Use the Application Explorer to access OnChange rules that apply to work types in your application. Use the Records Explorer to list all OnChange rules available to you.

Category

Declare OnChange rules are instances of the Rule-Declare-OnChange class. They are part of the Decision category.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us