Business rules
The Business rules node of the Global definitions section contains global business rules – rules defined once for the entire system that can be used in the configuration of any process. Business rules defined in the Definitions node of a process, on the other hand, are available only within that process.
How a global business rule differs from a process rule
- Available in all processes – a global rule can be inserted in the expression editor in any process. In the editor side panel, on the Functions tab, global rules are presented in the Global business rules group, separately from process rules. Global business rules are also available in the global form rule editor and in the data source query editor.
- Not tied to a specific process – a global rule is not associated with the form of any process, so some functions (e.g. the functions in the Item list group) are available only in process business rules.
- One definition in many places – a change to a global rule is applied in all processes that use it. Before modifying or deleting it, it is worth checking where it is used.
Global business rules list
A new rule is added with the Add global business rule button. The Add group button lets you organize rules into groups. The list shows the rule name and its documentation.
The configuration of global business rules can currently be viewed and edited only in the Legacy Designer Studio application – such rules are marked on the list with a warning icon. In Designer Studio you can add, group, check the usages of, and delete them.
The rule list, the rule editor, parameters, testing, and the functions available in rules are described in the Business rules article.