--- title: "Rule editor" slug: "orchestration-rule-editor" updated: 2026-04-02T12:44:34Z published: 2026-04-02T12:44:34Z canonical: "docs.lobstersoftware.com/orchestration-rule-editor" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Rule editor The [Rule editor](/v1/docs/en/orchestration-rule-editor) enables the creation and editing of r*ule configurations* based on parameterizable rule modules of different [Rule types](/v1/docs/en/core-association-rule). In every context that provides a *rule configuration*, a placeholder appears in the form of a diamond with a ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/add.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/add(40).svg) icon, which can be used to open a context menu for defining rules. | Context: [Association criteria](/v1/docs/en/core-association-criteria) | Context: [Event handling](/v1/docs/en/administration-designer-workflow-action-event-handler-configuration)/[Client workflows](/v1/docs/en/core-client-preferences-list-details-window-client-workflow) | Context: [Resolvers](/v1/docs/en/core-i-value-resolver) | | --- | --- | --- | | ![images/download/attachments/201666309/image-2025-4-1_13-49-23-version-1-modificationdate-1743508163074-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-49-23-version-1-modificationdate-1743508163074-api-v2.png) | ![images/download/attachments/201666309/image-2025-4-1_13-50-1-version-1-modificationdate-1743508201225-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-50-1-version-1-modificationdate-1743508201225-api-v2.png) | ![images/download/attachments/201666309/image-2025-4-1_13-50-39-version-1-modificationdate-1743508239827-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-50-39-version-1-modificationdate-1743508239827-api-v2.png) ![images/download/attachments/201666309/image-2025-4-1_13-51-0-version-1-modificationdate-1743508260195-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-51-0-version-1-modificationdate-1743508260195-api-v2.png) | | The configuration of [Association criteria](/v1/docs/en/core-association-criteria) is exclusively concerned with the definition of a more or less complex rule that is deemed to have **passed** or **failed** at runtime depending on the overall data context. | In the context of [Event handling](/v1/docs/en/administration-designer-workflow-action-event-handler-configuration) and [Client workflows](/v1/docs/en/core-client-preferences-list-details-window-client-workflow), the **Validating rule** decides whether **Action on passed rule** are executed at all. If the configured rule is 'not passed' at runtime, **No action** is taken. | Certain [Resolvers](/v1/docs/en/core-i-value-resolver), such as those shown above as an example ([Rule value](/v1/docs/en/core-rule-value) and [Rule list resolver](/v1/docs/en/core-list-rule-resolver), also refer to the [Rule editor](/v1/docs/en/orchestration-rule-editor) to configure a condition. | | **Special** [Rule types](/v1/docs/en/core-association-rule) **→** [With rule](/v1/docs/en/core-with-rule) | Special [Event actions](/v1/docs/en/core-i-action-actor-configuration) → [If then else](/v1/docs/en/core-if-then-else-actor) | **Special** [Resolvers](/v1/docs/en/core-i-value-resolver) **→** [Conditional value](/v1/docs/en/core-conditional-value-resolver) | | **![images/download/attachments/201666309/image-2025-4-1_13-51-54-version-1-modificationdate-1743508314807-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-51-54-version-1-modificationdate-1743508314807-api-v2.png)** | ![images/download/attachments/201666309/image-2025-4-1_13-52-22-version-1-modificationdate-1743508342057-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-52-22-version-1-modificationdate-1743508342057-api-v2.png) | ![images/download/attachments/201666309/image-2025-4-1_13-52-53-version-1-modificationdate-1743508373345-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-52-53-version-1-modificationdate-1743508373345-api-v2.png) | | In the configuration of the [With rule](/v1/docs/en/core-with-rule), a *temporary reference object* is first set via a *value configuration*. A *rule configuration* follows below, which is executed in the context of the value resolved as a *reference object*. | Within an [If then else](/v1/docs/en/core-if-then-else-actor) event action, a case differentiation can be configured with one or more branches. Each branch provides a *rule configuration* on which the execution of the [Event actions](/v1/docs/en/core-i-action-actor-configuration) configured in the branch depends. | A [Conditional value](/v1/docs/en/core-conditional-value-resolver) resolver adapts the concept of case differentiation (see [If then else](/v1/docs/en/core-if-then-else-actor) event action, left) for the context of a *value configuration*. Each branch assigns a specific *value configuration* to a *rule configuration*. | Symbolism and logic for rules In the [Rule editor](/v1/docs/en/orchestration-rule-editor), a diamond symbol appears for each rule inserted, the inner structure of which can be 'expanded' by clicking on the (**+**) icon in the top corner. The expanded state allows the rule definition to be edited, provided there is any configurable content. The view can be collapsed again by clicking on the (**-**) icon displayed in this state at the top right. The evaluation of a rule always returns a truth value (**true** or **false**) at runtime. This check result determines further processing according to the following scheme: | ![images/download/attachments/201666309/image-2025-4-1_13-54-45-version-1-modificationdate-1743508485620-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-54-45-version-1-modificationdate-1743508485620-api-v2.png) | If the 'Rule failed', the test result 'false' is returned and the path is followed 'to the right'. | | --- | --- | | If the test result is '**true**', the rule is considered 'passed' and the 'downwards' path is continued. --- **NOTE:** If no other rule is configured 'below' (or when 'passing') the [Check type](/v1/docs/en/core-check-type-rule) rule selected as an example, a *type hint* appears for the expected return value, depending on the context, which largely covers the arrowhead of the connecting line. A [Check type](/v1/docs/en/core-check-type-rule) can even 'set' this type hint, as it 'declares' a type for the downward path. ![images/download/attachments/201666309/image-2025-4-1_13-54-5-version-1-modificationdate-1743508445185-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-54-5-version-1-modificationdate-1743508445185-api-v2.png) | Click on the (**+**) icon at the top of the diamond to expand the 'rule' so that the specific *configuration interface* for the rule type appears, which provides access to the specific parameterization (if available). Click on the (**-**) symbol at the top right of the *configuration interface* to close the rule. ![images/download/attachments/201666309/image-2025-4-1_13-53-46-version-1-modificationdate-1743508426142-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-53-46-version-1-modificationdate-1743508426142-api-v2.png) - The [Check type](/v1/docs/en/core-check-type-rule) provides a [Combobox](/v1/docs/en/fre-combo-box-vo) for the **Type** parameter. - Two further parameters are each represented as *options* by a [Check box](/v1/docs/en/fre-check-box-vo) element. - These parameters are statically determined and can therefore only be adjusted by configuration. - A 'dynamic' value assignment (at runtime) may enable *value configurations*. **NOTE:** The *configuration interface* can contain elements for conditional parameters whose visibility or activation status depends on assignments for other parameters. | ## Rule graph Using an interactive visualization, the 'rule graph', the [Rule editor](/v1/docs/en/orchestration-rule-editor) enables the step-by-step creation of more complex logical structures based on a single rule. **NOTE:** The screenshots in the following sections refer to the context of an association criterion. In other environments, the display differs in details. | Functionally, the *rule configuration* shown on the right and therefore the association criterion as a whole should be considered 'passed' if the following conditions are met: 1. The *reference object* in the context is either a user account of the type 'User' (see [Users](/v1/docs/en/base-user)) →OR 'Guest user' (see [Guest users](/v1/docs/en/base-guest-user)). 2. In addition (↓AND) at least one of the following →OR-linked criteria must be fulfilled: 1. The [Company of session](/v1/docs/en/base-session-company-account-value) defined by the login context is also the 'owner' (`ownerId`) of the user account specified as the *reference object*. 2. If the *reference object* is a guest user account, no [Guest users](/v1/docs/en/base-guest-user) are found in the database (negated [Check existence](/v1/docs/en/core-exists-rule) rule) that fulfill a complex **Where** condition (account does not match the *reference object*, but relates to the same company). --- At runtime, the *rule graph* is processed step by step along the relevant connection arrows, beginning at **Start**. For the specific example, this means: - The [Check type](/v1/docs/en/core-check-type-rule) for [Users](/v1/docs/en/base-user) is performed first. Only if this is 'failed' is the →OR-linked [Check type](/v1/docs/en/core-check-type-rule) for [Guest users](/v1/docs/en/base-guest-user) performed (right). If this also fails, the overall →**Rule failed** (far right) applies. - If a [Check type](/v1/docs/en/core-check-type-rule) ↓ has been passed, the match ([Equals](/v1/docs/en/core-equals-matcher)) between the [Object property](/v1/docs/en/core-property-resolver) 'User' (`ownerId`) and the 'ID' (`id`) field of the [Company of session](/v1/docs/en/base-session-company-account-value) is first checked in an [Entity property rule](/v1/docs/en/core-entity-property-rule) (bottom left). --- **IMPORTANT:** Only if →not passed is the →OR-linked ↓AND [Junction](/v1/docs/en/core-rule-junction) (bottom right) executed at all. --- - A new [Check type](/v1/docs/en/core-check-type-rule) within the ↓AND [Junction](/v1/docs/en/core-rule-junction) ensures that a request is only made to the database via a [Check existence](/v1/docs/en/core-exists-rule) if a guest user exists as a *reference object*. If a 'competing’ guest user account is identified using the **Where** condition, the negation ((**!**) symbol see [Not rule](/v1/docs/en/core-not-rule)) for the association criterion as a whole →**Rule failed**. | ![images/download/attachments/201666309/image-2025-4-1_13-55-52-version-1-modificationdate-1743508551957-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-55-52-version-1-modificationdate-1743508551957-api-v2.png) | | --- | --- | **IMPORTANT:** As soon as the step-by-step check reaches one of the end points of the *rule graph* (**Rule passed** or **Rule failed**), the evaluation ends. Depending on the check results and the linking logic, more or fewer of the configured rules must therefore be checked. - Within an OR [Junction](/v1/docs/en/core-rule-junction), it can be advantageous to arrange more complex checks (such as the [Check existence](/v1/docs/en/core-exists-rule) with database access) as far to the 'right' as possible so that they are executed less frequently. - Within an AND [Junction](/v1/docs/en/core-rule-junction), it can be advantageous to place critical checks as high up as possible so that exclusion criteria are recognized as early as possible within the link. - A [Check type](/v1/docs/en/core-check-type-rule) may influence the *type hint* for subsequent ↓AND-linked rules. This can make configuration easier, as 'suitable' selection options for the data model then appear in *value configurations* for parameters (*here*: `ownerId` in the [Object property](/v1/docs/en/core-property-resolver) resolver). ## Context menu for rules | The *context menu* for rules can be opened using different mechanisms: - Click on the menu icon of a collapsed rule module (at the bottom of the diamond) or at the top right within the *configuration interface* of an expanded rule module. Diamond:![images/download/attachments/201666309/image-2025-4-1_13-56-58-version-1-modificationdate-1743508618489-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-56-58-version-1-modificationdate-1743508618489-api-v2.png) *Configuration interface:* ![images/download/attachments/201666309/image-2025-4-1_13-56-43-version-1-modificationdate-1743508602934-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_13-56-43-version-1-modificationdate-1743508602934-api-v2.png) - Right-click in the area of an expanded or collapsed rule module (diamond/configuration interface). --- **IMPORTANT:** The mechanisms mentioned above focus on the existing rule module, which has an effect on the functions offered in the context menu. The following mechanisms, on the other hand, relate to a rule module that is to be added to the configuration so that certain functions do not appear in the menu. --- - Click on an *insertion point* for a rule module: - ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/add.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/add(40).svg) icon in the placeholder for a *rule configuration* without rule module. - icon on the left or right edge of an expanded or collapsed rule module to create/expand an OR [Junction](/v1/docs/en/core-rule-junction). - icon at the top or bottom rank of an expanded or collapsed rule module to create/expand an AND [Junction](/v1/docs/en/core-rule-junction). | ![images/download/attachments/201666309/image-2025-3-31_19-33-45-version-1-modificationdate-1743442424964-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-3-31_19-33-45-version-1-modificationdate-1743442424964-api-v2.png) | | --- | --- | | *Insertion positions:* ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/add.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/add(40).svg) icon:![images/download/attachments/201666309/image-2025-4-1_14-3-49-version-1-modificationdate-1743509029261-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_14-3-49-version-1-modificationdate-1743509029261-api-v2.png) OR (left/right):![images/download/attachments/201666309/image-2025-4-1_14-4-45-version-1-modificationdate-1743509085040-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_14-4-45-version-1-modificationdate-1743509085040-api-v2.png) ![images/download/attachments/201666309/image-2025-4-1_14-5-45-version-1-modificationdate-1743509145215-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_14-5-45-version-1-modificationdate-1743509145215-api-v2.png) AND (below/above):![images/download/attachments/201666309/image-2025-4-1_14-7-30-version-1-modificationdate-1743509250717-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_14-7-30-version-1-modificationdate-1743509250717-api-v2.png)![images/download/attachments/201666309/image-2025-4-1_14-8-13-version-1-modificationdate-1743509293755-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_14-8-13-version-1-modificationdate-1743509293755-api-v2.png) | ## Menu functions for rule modules | Function | For selected rule/[Junction](/v1/docs/en/core-rule-junction) | At an insertion point | Details | | --- | --- | --- | --- | | **Add** | Replaces the selection with a new instance for the *rule type* chosen in the context menu. | Adds a new instance to the *rule graph* for the *rule type* selected in the context menu. | **NOTE:** When adding a rule module to an existing configuration, a [Junction](/v1/docs/en/core-rule-junction) is created implicitly if required. | | **Remove** | Removes the selection from the *rule graph* (but unlike cutting, does not copy it to the **Lobster Data Platform/Orchestration** clipboard). | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(20).svg) n/a | **CAUTION****:** When a [Junction](/v1/docs/en/core-rule-junction) is removed, all directly and indirectly contained rule modules are also removed, i.e. the entire substructure downwards from the selection in the *rule graph*. | | **Test mode** | Enables [Tests](/v1/docs/en/core-testing-set) for selection. | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(20).svg) n/a | **NOTE:** [Tests](/v1/docs/en/core-testing-set) for a rule only return a Boolean value (`$true/$false`). However, the 'Log' can contain information on errors that are intercepted in [Association criteria](/v1/docs/en/core-association-criteria) by default with the return value `$false`. | | **Edit as XML** | Starts the XML editor with the structure for the selection (incl. all 'contained' components). | Starts an empty XML editor for a new rule (e.g. for pasting XML from the clipboard). | **NOTE:** In addition to direct editing of the XML structure, the editor also allows sections of a *rule graph* to be copied and pasted via the clipboard of the client operating system. In contrast to the **Lobster Data Platform/Orchestration** clipboard (see below), configurations can also be 'transferred' across systems. | | *Functions of the* **Lobster Data Platform/Orchestration** *clipboard* | | **Copy** *Shortcut:* ***Strg+C*** | Copies the selection to the **Lobster Data Platform/Orchestration** clipboard. | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(20).svg) n/a | **NOTE:** The **Lobster Data Platform/Orchestration** clipboard is based on a cookie stored locally by the browser, the value of which is overwritten when using the **Cut** or **Copy** functions. As long as the *cookie* exists, the content is available for subsequent sessions with the same browser under the same URL, even if different login data (user, company, role) is used. The **Paste** function only appears in the context menu if the clipboard contains content and this is compatible with the context. | | **Cut** *Shortcut:* ***Strg+X*** | Copies the selection to the **Lobster Data Platform/Orchestration** clipboard and immediately removes it from the *rule graph*. | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(20).svg) n/a | | **Paste** *Shortcut:* ***Strg+V*** | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(20).svg) n/a | Inserts (suitable) content of the **Lobster Data Platform/Orchestration** clipboard at the *insertion point* in the *rule graph*. | | **not** | Reverses the status of the 'negation' for the selection (removes or adds a [Not rule](/v1/docs/en/core-not-rule) above the selection). | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(20).svg) n/a | *Negated rules:* ![images/download/attachments/201666309/image-2025-4-1_14-22-36-version-1-modificationdate-1743510156441-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_14-22-36-version-1-modificationdate-1743510156441-api-v2.png) ![images/download/attachments/201666309/image-2025-4-1_14-23-8-version-1-modificationdate-1743510188190-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_14-23-8-version-1-modificationdate-1743510188190-api-v2.png) | | **Description** | Opens a modal text editor to edit the description for the selection. **NOTE:** As can be seen in the screenshot on the right, the presence of a description is signaled by a red marker in the top right-hand corner of the display for the rule or [Junction](/v1/docs/en/core-rule-junction). When the mouse cursor is moved closer, the highlighted text appears as a tooltip (see screenshot). | ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/error.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/error(20).svg) n/a | ![images/download/attachments/201666309/image-2025-4-1_14-25-44-version-1-modificationdate-1743510344684-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-1_14-25-44-version-1-modificationdate-1743510344684-api-v2.png) | | **CAUTION****:** A **Description** is generally well suited to providing a functional summary for a more complex logical aggregate at the level of the parent [Junction](/v1/docs/en/core-rule-junction). It should be noted that a (non-negated) [Junction](/v1/docs/en/core-rule-junction) is automatically deleted from the *rule graph* when contained components are removed or cut out if it becomes superfluous because it would only contain one component after the interaction. Any assigned **Description** is lost without further inquiry. | | **Help** | Opens the manual entry (if available) for the *rule type* of the selection or for the context applicable [Online help](/v1/docs/en/core-online-help). | Opens the parent manual entry for all [Rule types](/v1/docs/en/core-association-rule) or [Online help](/v1/docs/en/core-online-help) applicable to the context. | **NOTE:** Entries in the manual only appear if the 'Administration/Master data/Online help/Display default help' authorization is available. However, the **Help** function always appears in the **Context menu**, as it also affects any assigned custom [Online help](/v1/docs/en/core-online-help). |