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

Adding a rule specification to a rule statement

Adding a rule specification to a rule statement

You can reference a rule specification in a condition or an action in a rule statement. Add a rule specification to a rule statement when the rule specification contains function logic that you want to reuse in the rule statement. Use the rule specification so that you do not have to define the logic in the current rule specification.

Configuring a condition to run a rule specification

  1. Create or select a rule statement in a rule set.
  2. Select one of the following operators:
    is, is not, is greater than, is greater than or equal to, is less than
    or
    is less than or equal to
    .
    The condition name changes to function.
  3. Open the
    Define Condition
    dialog box.
  4. Select
    Rules
    Rule Specification
    .
  5. In the
    Select Rule Specification
    dialog box, browse to and select a rule specification to add to the condition.
  6. The
    Define Condition
    dialog box shows the inputs on the rule specification that you select.
    Select an input in the current rule set to map to each input in the selected rule specification. The data types of the inputs must be compatible in each case.
  7. The
    Define Condition
    dialog box also shows an output field for the rule specification that you select. The output field identifies the rule set that generates an output for the condition.
    To provide an output from the rule specification that the condition can use, select a rule set name.
  8. Click
    OK
    .

Configuring an action to run a rule specification

  1. Create or select a rule statement in a rule set.
  2. Select the function option on the action.
  3. Open the
    Define Action
    dialog box.
  4. Select
    Rules
    Rule Specification
    .
  5. In the
    Select Rule Specification
    dialog box, browse to and select a rule specification to add to the action.
  6. The
    Define Action
    dialog box shows the inputs on the rule specification that you select.
    Select an input in the current rule set to map to each input in the selected rule specification. The data types of the inputs must be compatible in each case.
  7. The
    Define Action
    dialog box also shows an output field for the rule specification that you select. The output field identifies the rule set that generates an output for the condition.
    To provide an output from the rule specification that the action can use, select a rule set name.
  8. Click
    OK
    .

0 COMMENTS

We’d like to hear from you!