Skip to main content
Version: 2027 R1

Form rules

The Form rules node of the Global definitions section contains global form rules – rules defined once for the entire system that can be run on the forms of any process. Form rules defined in the Definitions node of a process, on the other hand, are available only within that process.

How a global form rule differs from a process rule​

  • Available in all processes – a global rule can be used in the form and form field configuration of any process. In the rule editor side panel, on the Functions tab, global rules are presented in the Global form rules group, separately from process rules. In JavaScript mode, a global rule is called with the InvokeRule command.
  • Access to global business rules – in the global form rule editor you can use global business rules (the Global business rules group).
  • One definition in many places – a change to a global rule is applied on the forms of all processes that use it.

Global form rules list​

A new rule is added with the Add global form rule button and opened in the rule editor. The Add group button lets you organize rules into groups. The list shows the rule name and its documentation.

caution

Rules created in Legacy Designer Studio whose configuration cannot yet be edited in Designer Studio are marked on the list with a warning icon. Such a rule can be viewed and edited only in the Legacy Designer Studio application; in Designer Studio you can check its usages and delete it.

info

The rule list, the rule editor, the places where rules are run, and the functions available in rules are described in the Form rules article. Creating rules in script mode is described in the JavaScript in WEBCON article.