Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Introduction to rule specifications
  3. Rule specification configuration
  4. Rule set configuration
  5. Rule statement configuration
  6. REST APIs for rule specifications
  7. Rule specification configuration in advanced mode
  8. Business rules and rule statements
  9. Validation and testing

Rule specification assets

Rule specification assets

Rule sets with dependent conditions

Rule sets with dependent conditions

Configure a rule set with rule statement conditions in a dependent relationship when the business rule requires multiple conditions to be true. Define a rule statement that applies a set of related conditions to the inputs, and define a single action for the conditions.
Use an AND operator in the rule statement to join the conditions.

Dependent conditions example

A city bus company wants to hire bus drivers. The bus company requires all drivers to pass an eyesight test and to hold a license to drive a bus. The company defines a business rule that requires the employee database to verify the eyesight test status and the license status for each driver. You create inputs that represent the data for the eyesight test and the license. You configure a rule statement with a condition for each input. You configure the default rule set to return a string when an input to the earlier rule statement is not valid.
You configure a rule set with the following rule statements:
IF EYESIGHT TEST IS YES
AND DRIVERS_LICENSE IS YES THEN OK
OR IF NO RULE STATEMENT IS VALID THEN NOT_OK

0 COMMENTS

We’d like to hear from you!