Advanced Editor Mode

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:

  1. 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.
  2. 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.
  3. If you want to switch back to the simple editor mode, right-click anywhere on the advanced editor and click Switch to Simple Editor. 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.
  4. Save and close when you are done.