Building a Business Rule

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:

  1. Double-click the rule that you want to define.
    The Rule Builder opens on the canvas.

  2. Place your cursor in the text box and choose any of the following:

  3. 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

  1. Move the cursor to another location in the string and repeat step 2 until the rule is complete.

  1. To save the rule, select File>Save All from the menu bar.

  1. 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.

  2. Click to close the Rule Builder.