Use the Rule Builder to define a single rule, multi-rule, or rule set for your business process. You can build a rule as a text string and then view the string in tree form.
When building a rule, use operators and functions and then reference element nodes to identify the source or target schema data that the rule will evaluate. To assist you in this process, review the guidelines for building rules before you begin.
To build a rule as a text string:
Double-click the
rule that you want to define.
The Rule Builder opens on the canvas.
Place your cursor in the text box and choose any of the following:
Type a period [.] to display the entire selection list and double-click one of the following to add it to the rule:
Function - To perform an operation on data.
Operator - To apply logic to your rule.
Element node - To evaluate the data in this context reference.
Note: When using element nodes, always use a fully qualified XPath. When building predicates, you can use partial XPaths. Example
Type a letter in the text box to limit the selection list to only those items that begin with that letter. Double-click the one you want added to your rule.
For functions, such as Concat and Choose, with repeating arguments, right-click the string and select Add> from the shortcut menu to add arguments
Drag an icon from the tool palette and drop it into the text box.
Move the cursor to another location in the string and repeat step 2 until the rule is complete.
To save the rule, select File>Save All from the menu bar.
To parse the rule
and view it as a rule tree, double-click the string.
To return to the string-form, double-click the root node of the tree.
Click to close the Rule Builder.