Show TOC

Creating a DefinitionLocate this document in the navigation structure

Use

You can create business terms or local computational variable rules in the form of definitions and use them in rules. For example, when processing a list of order items, you create a definition called CurrentOrderItem to identify the current item being processed.

Procedure
  1. Locate the ruleset and in the ruleset editor view, choose the Definitions tab.

    For more information, see Locating the Ruleset

    or

    Locate the flow ruleset and in the flow ruleset editor view, choose the Definitions tab.

    For more information, see Locating the Flow Ruleset

  2. In the definition editor, under the Fixed Definitions section, choose the Add icon and in the drop down that appears, select the relevant return type.

  3. Choose the default definition name and in the text box that appears, enter a valid name for the definition and press Enter .

  4. Choose the RHS value and in the drop down menu that appears enter a value in the inline text box or choose a Definition or alias in the drop down menu.

  5. Repeat the steps to add a variable definition under the Variable Definitions section.

Note

After you create a definition:

  • You cannot change the return type

  • You can change the name and RHS value

Select the definition and in the context menu, you should see the following options:

  • Delete Row : This option deletes the definition in the editor

  • Copy Definitions : This option allows you to copy the definition

  • Paste Definitions : This option allows you to paste the definition in the same editor

  • Preferences : This options allows you set preferences for the text editors

More Information