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

Function configuration in conditions

Function configuration in conditions

You can configure the data operation in a condition as a function expression. You can also select a function expression from a list of expressions in the rule specification. Use the function options in the condition to configure or select the expression.
You can use the function options as an alternative to the inline condition options that the rule statement displays in the workspace. You can configure a function to read multiple inputs. You can also use the function options to add a dictionary or another rule specification to the condition.
Use the
Define Condition
dialog box to configure or select a function expression. To open the dialog box, select
function
as the condition type in the rule statement. The function expressions that you can use depend on the operator that you select.
The following image shows the options on the
Define Condition
dialog box for different operators:
The dialog box shows the types of condition that you can perform in the left-hand pane. You select the type of condition, and you configure the condition in the right-hand pane.
The dialog box contains the following options:
  1. Input
    Use the Input options to compare an input data value to other data values in the following ways:
    • Compare the rule statement input with an input from another column on the same row.
    • Compare the rule statement input with a value that you enter.
    • Compare the rule statement input with a range of values that you enter.
    Select the Inputs option with the following operators:
    is, is not, is greater than, is greater than or equal to, is less than, is less than or equal to, is within,
    and
    is not within
    .
  2. Dictionary
    Use the Dictionary options to compare an input data value with the values in a dictionary.
    Select the Dictionary option with the following operators:
    is within
    and
    is not within
    .
  3. Functions
    Use the Functions options to apply an expression to the input data. Select an expression from the list in the dialog box.
    Select the Functions option with the following operators:
    is, is not, is greater than, is greater than or equal to, is less than
    and
    is less than or equal to
    .
  4. Rules
    Use the Rules options to compare an input data value to the output from another rule specification. The rule specification that you select runs as part of the rule statement at run time.
    Select the Rules option with the following operators:
    is, is not, is greater than, is greater than or equal to, is less than
    and
    is less than or equal to
    .
  5. Mapplets
    Use the Mapplets options to compare an input data value to the output from mapplet. The mapplet runs as part of the rule statement at run time.
    Select the Mapplets option with the following operators:
    is, is not, is greater than, is greater than or equal to, is less than
    and
    is less than or equal to
    .
    For more information on mapplet configuration, see Mapplet configuration options.
  6. Expressions
    Use the Expressions options to define and apply a custom expression to the input data. You can enter an expression as text, or you can select from a range of built-in expressions.
    Select the Expressions option with the following operators:
    is, is not, is greater than, is greater than or equal to, is less than
    and
    is less than or equal to
    .
  7. Search
    Use the Search options to find an input data value in another input column. The rule statement searches all of the values in the column for the current rule statement input value.
    Select the Search option with the
    contains
    operator.

0 COMMENTS

We’d like to hear from you!