Prev Next

Bind Rules to Conditions and Actions

After defining which rules are applied, which conditions are evaluated and/or which actions are taken in the completion of a Rule Task, you bind the rules to the conditions and actions to define:

  • Which rules are evaluated against a condition
  • What values of that condition are applicable to each rule
  • What decisions or actions are taken on each value output from evaluation of the rule, and what the result of that decision or action is

You bind the rules, conditions and actions using the Rule Bindings table, just above the Rule Conditions table.

Access

Context Menu

Open diagram | Right-click on a Rule Task element | Rule Composer > Decision Table

Bind rules

Step

Action

See also

1

Click on the 'Rule Bindings' field immediately above the appropriate 'Value<n>' and/or 'Result<n>' field.

Click on the number of the rule that is evaluated against the condition for the specific value and to generate the action to provide the specific result identified in those two fields.

Define Rule Conditions Define Rule Actions

2

Ensure that the values set in the 'Value<n>' and/or 'Result<n>' field underneath the rule number do all operate under the rule.

3

Click on the Save icon in the Rule Composer toolbar.

Continue to bind business rules to conditions and actions having logical values for an instance of the rule.

Example

  • Rule 2 is 'A car must not be rented to a customer of age less than 18'
  • The first Rule Condition is Customer.age
  • The 'Value1' field contains the value '< 18' against that Rule Condition
  • The first Rule Action (or decision) is Customer.Eligible
  • The Result1 field contains the value 'No' against that Rule Action
  • The second Rule Action is Application.Status
  • The 'Result1' field contains the value 'Reject' against that Rule Action

You would select '2' in the 'Rule Bindings' field over the 'Value1/Result1' column, so that a when a customer's application to rent a car is tested against rule 2, if the customer is found to be under 18 they are automatically classified as ineligible and the application rejected.

Learn more