Rule Builder dialog
Rules are if-then-else statements. In HCL® Marketing Operations, you use the Rule Builder to assemble different types of rules for your templates: to expand or collapse a custom form by default, to assign the recipients for new project requests, or to require approval of a budget line item.
The following table describes the fields in the Rule Builder dialog.
Field | Description |
---|---|
Compound Conditions | Lists the conditions that are built in the IF and THEN sections
at the bottom of the Rule Builder dialog. To edit an existing condition, click Update. |
IF the following compound condition is true | Lists each condition in the "if" portion of the rule. You use the controls below this field to build and add each condition. |
Select an Attribute | Lists the standard and custom attributes in the template that you can use for the rule. This list does not include grid attributes. |
Operator | After you select an attribute, you choose an operator. The system populates this list based on the data type of the attribute. For example, you select the Description attribute. The list of operators is Starts With, =, contains, and Ends With. For an Amount attribute, the operators are <=, >=, =, >, <, and !=. |
Value | After you select an attribute and operator, you specify the value. If your "if" statement is complete, click Add to save it. To include another condition, continue to the next field. |
And/or | For a rule that contains more than one condition, select And or or to connect the current condition with the next condition. Then, click Add to save this condition and click New to specify the next condition. |
THEN | Specifies the result when the condition (or conditions) that you entered is met ("then").
After the IF list displays the complete condition and you specify the result, click Save Compound Condition. The complete if-then statement displays in the Compound Conditions section at the top of the dialog. |
Default Action | Specifies the result when the condition (or conditions) is not met ("else").
|
To review or print the complete if-then-else rule, click Preview.
For more information about adding different types of rules, see: