When condition rule
|
|
Create a when condition rule by selecting When
from the Decision
category.
For those when condition rules that define simple tests involving a property or expression, you can use the Quick Create option and bypass the full When form as described below.
A when condition rule has two key parts:
Field |
Description |
Applies To |
Select a class to which this when condition rule applies. The classes you can enter here may depend on the RuleSet you select. On the Restrictions tab of the Class form, a class rule may limit rules applying to that class to belong to one of an explicit list of RuleSets. |
When Name |
Enter a name for this when condition rule. Begin with a letter and use only alphanumeric characters.
Don't choose either keywords |
For general information about the New form, see Completing the new rule dialog box. For general information on the Save As form, see How to enter rule keys using Save As.
To create a simple when condition rule quickly, bypassing the full form, enter a Boolean expression in the When field and click Quick Create .
Field |
Description |
Condition |
You can enter an expression here that evaluates to true or false. Type a single period and use SmartPrompt to access a list of properties. These are examples: .BalanceRemaining > 0.0 .pyLabel !="Maryland" @PageExists("myPage", tools) |
Quick Create |
Click to create the when condition rule based on the expression you entered. |
If required, you can update this when condition rule later using the form.
Full rule resolution applies to when condition rules. When searching for when condition rules, the system: