Creating Criteria That Compare Attributes with Attributes

This type of criterion lets you compare an attribute with another attribute. For example, you can see whether the value in a specific field is greater than the value in another field. If it is, then the criterion evaluates to true, and the member receives the bonus that is defined in the Action list for this rule.

To create criteria that compare an attribute with another attribute

  1. Navigate to the Loyalty Promotions Administration screen.

  2. In the Promotions list, find the promotion for which you want to create criteria and click the hyperlink in its Promotion Number (#) field.

  3. If the promotion form’s Active check box is selected, then click Modify.

  4. Click the Rules view tab.

  5. Select a rule and click its Name field hyperlink.

  6. Add one or more new records to the Criteria list, and complete the necessary fields in the Criteria list record and its Detail form. Some fields are described in the following table.

    Section Field Description

    N/A

    Sequence Number (#)

    Displays the sequence in which criteria are evaluated. To optimize performance, you can change the sequence so the criteria that eliminate most records are evaluated first, leaving fewer records for the remaining criteria to read through. (The sequence does not affect whether the rule qualifies, because all criteria must be true for the rule to qualify.)

    N/A

    Type of Comparison

    Select Compare to Object.

    Compare this object

    Object

    Select the Object whose attribute is compared.

    Compare this object

    Attribute

    Select the attribute to be compared.

    To this object

    Other Object

    Select the Object whose attribute the first attribute is compared with.

    To this object

    Other Attribute

    Select the attribute that the first attribute is compared with.

    And/Or this value

    Operator and Value

    You can compare the first attribute with a calculation based on the Other Attribute. For example, you can compare the first attribute with Other Attribute * 2. If you want to use this feature, then select an operator (such as *) and a value (such as 2) for the calculation.