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. B-17657 MIRAT 7/11/06 |
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. B-3306 Alternatively, you can enter a simple Boolean expression here, for example in one of these formats: property = "constant value" You can reference linked properties in the expression. Don't use a complex Java expression or an expression that calls a function here. When this OnChange rule used to suspend work item processing, this when condition is known as the business exception. |
Choose Action... | |
Choose Action |
Select: C-2377
|
Complete these fields when you select Call Activity
in the Choose Action field.
Field |
Description |
When True Run | |
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. B-3349, B-3306 See More about Declare OnChange rules for more about the activity. |
When False Run | |
When False Run |
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 items.
Field |
Description |
Suspend Section | |
Policy Override Flow to run |
Enter the Flow Name key part of a flow to execute to support review of the suspended flow. Ensure that the flow meets the requirements listed in How to implement business exception processing with policy overrides. |
Error message |
Enter the third key part of a field value rule with first key part @baseclass and second key part pyMessageLabel, or enter literal text between double quotes to identify this source of policy override reviews. |