Business rules

Business Rules can be used to build complex business logic without programming and automate and optimize business decisions. For example, a store offers the following discounts:

  • 5% for purchases between £100 and £1000

  • 10% for all purchases above £1000

You can use the following logic to calculate the amount to pay after discount:

IF Amount >=100 and <=1000 THEN Discount =5%
IF Amount > 1000 THEN Discount = 10%
Else Discount = 0%
Amount to Pay = Amount - (Amount/ 100) X Discount
Return Amount to Pay

A business rule is a diagrammatic representation of a rule and enables you to use all of the back-end integration capabilities of TotalAgility to retrieve data from external sources to use within the rule, and to update data repositories. A business rule also enables you to use the decision and multi-branching rules logic of a process map to create the rule and determine the output values.

A business rule includes the following elements:

  • Inputs

  • Rule Conditions

  • Output

This section describes the following: