Add function to rule
- Select the rule from the iLogic Browser on either the Rules tab or the External Rules tab.
- Right-click and select Edit Rule.
- 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.
- Locate the function in the Snippets area.
- Double-click the mouse button to add the function.
- 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.