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

Combining data values in advanced mode

Combining data values in advanced mode

To combine two or more data values in your data set, use the || operator. The operator combines the data values that you require into a single string.
For example, your organization might combine values to generate unique identifiers or keys. You might concatenate relevant attributes in your data set, such as a customer ID and an order ID to create a composite key that ensures unique identification of a data value.
  1. Open a rule specification in advanced mode.
  2. Verify that the rule specification contains the inputs and outputs that you require.
    • If the rule specification does not contain an input and an output that you can use, create an input and output. Configure the input and output properties to represent the type of column that contains the business data.
  3. In the rule editor, type the
    IF
    element of the IF-THEN-ELSE statement.
  4. To specify the input, type the input name.
  5. Enter the input value. For example, enter
    12345
    .
  6. Enter an operator value. For example, enter the
    AND
    value to connect the inputs.
  7. To specify another input, type the input name.
  8. Enter the input value. For example, enter
    1111
    .
  9. Type the
    THEN
    element.
  10. To specify the output, type the output name.
  11. Enter an operator value. For example, enter the
    =
    value to write a value for the data that satisfies the rule logic.
  12. Enter the input names and use the
    ||
    operator between the inputs to combine the values in the inputs.
  13. Type the
    ENDIF
    element.
The following example shows the use of concatenate operator:
IF (Input = "12345" AND Input1 = "1111") THEN Output = (Input || Input1) ENDIF

0 COMMENTS

We’d like to hear from you!