Skip to main content

 –

About Declare OnChange rules

Suggest edit Updated on October 13, 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.

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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