Declare OnChange
form
|
Define the conditions that will cause this rule to be executed. Specify in an array the properties to be watched for change.
Field |
Description |
Properties to Watch |
This array identifies the properties that the rule tracks. Order is not significant. |
(1, 2, 3...) |
Enter the desired property references. Each property entered is monitored for changes. Identify a property on the top-level page (with a dot followed by the page name) or on a page identified by the Page Context field on the Pages & Classes tab. If you list more than one property, they must be on the same page, either the top-level page or a common embedded page.
If you list more than one property, when two or
more of the properties change value (for example, within
a single step of an activity) this Start each property reference with a dot. You can't reference a property on a page other than the page corresponding to the Applies To key part of the rule or on a page identified by the Page Context field on the Pages & Classes tab. |
Conditions | |
When |
Optional. Identify a when condition rule to be evaluated at the time a property value changes. The system uses the Page Context value on the Pages & Classes tab (if not blank) as the Applies To key part of the when condition rule. If the Page Context value is blank, the system uses the Applies To key part of this OnChange rule. Alternatively, you can enter a simple Boolean expression here, for example in one of these formats: property = "constant
value" Don't use a complex Java expression or an expression that calls a function here. When this OnChange rule used to suspend work object processing, this when condition is known as the business exception. |
Choose Action... | |
Choose Action |
Select:
|
Complete these fields when you select Activity
in the Choose Action field.
Field |
Description |
OnChange Activity | |
Activity |
Enter the
Activity Name key part of an activity to
execute when any of the specified properties change (and
the test in the When field evaluates to
true). Choose an activity with an Activity
Type of The system uses the Page Class value on the Pages & Classes tab (if not blank) as the Applies To key part of the activity. If the Page Context value is blank, the system uses the Applies To key part of this OnChange rule. See More about Declare OnChange rules for more about the activity. |
Else Activity | |
Else Activity |
Optional. Enter
the Activity Name key part of an
activity to execute when any of the specified properties
change and the test in the When field
evaluates to false. Choose an activity with an
Activity Type of See More about Declare OnChange rules for more about the activity. |
Complete these fields when you select Suspend Work
Object
in the Choose Action field.
See Understanding
policy overrides and suspended work objects.
Field |
Description |
Suspend Section | |
Policy Override Flow to run |
Enter the Flow Type key part of a flow to execute to support review of the suspended flow. |
Error message |
Enter the third key part of a field value rule with first key part @baseclass and second key part pyMessageText, or enter literal text between double quotes to identify this source of policy override reviews. |