Create business data

You can create and use business data within all the business rule types, that is when you add a condition in a decision table or configure a node in the decision tree or flow rule.

Create business data in the similar way as you create process variables.

  1. Open the business rule in which to create business data.
  2. On the modeling bar, click Business data and click New.

    The New business data dialog box is displayed.

  3. Enter a unique Name for the data, such as CustomerName.
    By default, the name of the data becomes the ID of the data; however, you can change the ID if needed.

    For naming convention of name and ID, see Name conventions.

  4. On the Type list, select the business data type, such as Bool, Date, Number or String. (Default: String)
  5. Select, enter or configure a Value for the data.
    Note To provide a dynamic value, at runtime, leave the Value empty.
  6. Click Add.

    The list of business data appears on the Business data tab.

  7. Similarly, create other data types.
    By default, all the variables are sorted on Name and displayed in the ascending order. However, you can sort (ascending or descending) on the following columns: Name, ID, Type, and Value.
  8. Click Save.

    When you test the business rule in which business data is used, the correct output is returned based on the input and default values of the business data. For example, if Number business data type is used, if the user types in a value of 1.999 and specifies to use 2 decimal places, value will be automatically changed to 1.99.