Work with functions for rules in iLogic

Add function to rule

  1. Select the rule from the iLogic Browser on either the Rules tab or the External Rules tab.
  2. Right-click and select Edit Rule.
  3. In the rule text area of the Edit Rule dialog box, position the cursor where you want to insert the function. Most functions start on a new line.
  4. Locate the function in the Snippets area.
  5. Double-click the mouse button to add the function.
  6. If the function includes any arguments or requires any inputs, edit the inserted code as necessary.
Note: To add a function manually, type it in at the desired location. You can also copy a function already in the rule and then modify the copy.

Edit function within rule

You can edit a function within a rule using standard text editing techniques. Use the toolbar above the rule text area or the context menu for assistance with certain operations.

If you are adding a function, sometimes it is quicker and more efficient to edit a copy of a similar function that exists in the rule. Use Copy/Paste to create a copy of an existing function that can be edited.