You can configure an IF element in your rule specification to read a rule specification that you identify:
Open a rule specification in advanced mode.
Verify that the rule specification contains the inputs and outputs that you require.
In the rule editor, type the
IF
element of the IF-THEN-ELSE statement.
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.
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.
Enter an operator value. For example, enter the
=
value to verify whether the input value matches the value that you specify.
Enter the value to compare to the input value. For example, enter
VALID
.
Type the
THEN
element.
To specify the output, type the output name.
Enter an operator value. For example, enter the
=
value to write a value for the data that satisfies the rule logic.
Enter the value that the output returns. For example, enter
Input not null
.
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.