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

Specifying a rule specification in an IF element

Specifying a rule specification in an IF element

You can configure an IF element in your rule specification to read a rule specification that you identify:
  1. Open a rule specification in advanced mode.
  2. Verify that the rule specification contains the inputs and outputs that you require.
  3. In the rule editor, type the
    IF
    element of the IF-THEN-ELSE statement.
  4. Type the name of a rule specification that you want to add.
    The editor can suggest rule specification names from the set of assets in your organization folders or projects based on the text that you type.
  5. Map each input in the current rule specification to an input in the rule specification that you select above. Append the input names from the rule specification that you selected as parameters to the rule specification name.
    The data types of the inputs that you map must be compatible.
  6. Enter an operator value. For example, enter the
    =
    value to verify whether the input value matches the value that you specify.
  7. Enter the value to compare to the input value. For example, enter
    VALID
    .
  8. Type the
    THEN
    element.
  9. To specify the output, type the output name.
  10. Enter an operator value. For example, enter the
    =
    value to write a value for the data that satisfies the rule logic.
  11. Enter the value that the output returns. For example, enter
    Input not null
    .
  12. Type the
    ENDIF
    element.
The following example shows rule logic that contains a rule specification:
IF rule:
Auto_Project1.TC593_InnerRule_AdvancedRulespec
(Input) = 'VALID' THEN Output = 'Input not null' ENDIF
The italicized text represents the rule specification name.

0 COMMENTS

We’d like to hear from you!