Use the advanced editor mode to write complex business rules. This
mode requires PBL coding, so to use it you should be familiar with PBL syntax.
Note: If your write a complex business rule in the advanced editor
mode, you will no longer be able to edit this rule in the simple editor mode.
To use the advanced editor:
- In the simple editor, click
Switch to Advanced Editor.
The advanced editor opens. This is a PBL code editor. If
you have already defined any conditions, these will be shown in code form.
- In the editor, enter any PBL code you require to implement the
business rule. You must exit your code with a
return statement which returns a boolean value
(true or
false).
For more information about PBL, consult the
PBL Reference.
- If you want to switch back to the simple editor mode,
right-click anywhere on the advanced editor and click
.
Recall that you will not be able to do this if you've edited the
rule in such a way that it can no longer be represented in the simple editor.
- Save and close when you are done.