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 contains the following options:
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
.
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
.
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
.
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
.
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
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
.
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.