Create attributes for the rule

In this topic, you learn how to create attributes that can be used in the interface of the rule. These attributes define the data that are accepted by the logic of the rule.

Prerequisites

  • You have done the initial setup to create a rule in Set up a rule.

Procedure

  1. Click the Interface tab in the rule you want to edit.

  2. Click +Add.

    Result: A new empty row appears.

  3. Fill in the data for the attribute.

    1. In the Attribute column, enter a name. The attribute is shown under this name in the Condition tab.

      You cannot use spaces in the attribute name. Also, attribute names are unique.
    2. In the Description column, give a short description of what the attribute is about.

    3. In the Type column, select from the drop-down menu whether the attribute is of type String, Number, or Boolean.

      rules engine interface snag
  4. Create as many attributes as you need for your purpose.

    You can sort rows by dragging and dropping them.
  5. Click Save.

Results

  • You have created attributes that can be used in your rule.