You are here: Configuration > Rules > Selecting Condition Attributes

Selecting Condition Attributes


A rule is composed of a condition and an action. The condition is evaluated first. If the condition is evaluated to true, then the rule is fired. That is, an action is performed.

ClosedRule Condition types


ClosedManaging Simple Conditions

You can select attributes to use in simple conditions and advanced functions. Use simple conditions when you are writing a rule that needs to run under certain conditions. Instead of selecting Always True, select the Simple Condition radio button in the Conditionsection of the rule.

When using simple conditions, you have to select the necessary condition attributes and specify the values of the attributes for which the rule is fired. Several comparison operators are available for this purpose.

  1. Navigate to a rule.
  2. Select Simple Condition in the Condition section of the rule.
  3. Click Add Row in the Condition section of the rule.
  4. In the Attribute drop-down, select your first condition attributes.
  5. In the Operator drop-down, select an Operator.

    Attribute Data Type Available Operators
    • =
    • Not =
    • Starts With
    • Not Starts With
    • Ends With
    • Not Ends With
    • Contains
    • Not Contains
    Currency, Float or Integer
    • >
    • <
    • >=
    • <=
    • =
    • Not =
    Single Select Menu
    • =
    • Not =
    multi-select Menu
    • =
    • Not =
    • Contains
    • Not Contains
    • =
    • Not =
    • Before
    • On or Before
    • After
    • On or After
  6. In the Value Type drop-down, select the Value Type.
  1. Choose the value(s) for the condition.
    1. There may be a checkbox that is blank. You'll want to de-select this unless you want the rule to run for "none".

ClosedSimple Logic with Grouping

You can choose the order in which the statements are evaluated by choosing settings in the Row Grouping section.

The default evaluation happens from left to right. You can explicitly specify the order of operations with the help of parentheses. For example, the condition 1 AND 2 OR 3 is evaluated by default as (1 AND 2) OR 3. You can change the order of operations by typing 1 AND (2 OR 3)in the row grouping section.

You can view the order of operations in either the Row Grouping section (by entry row) or in the Condition Summary section.

ClosedManaging Advanced Conditions

The advanced function is meant for complex condition logic. You build the logic using BML in the function editor. You can access this by clicking the View/Edit the BML Function button.

For more information, see BML Overview.

Sample of Advanced Conditions: 



Related Topics Link IconSee Also