--- title: "Static enumeration" slug: "core-enum-value-editor" updated: 2026-04-16T09:24:55Z published: 2026-04-16T09:24:55Z canonical: "docs.lobstersoftware.com/core-enum-value-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. # Static enumeration *See also:* [Any static enumeration](/v1/docs/en/core-any-enum-value-editor) > [!NOTE] > Resolver – Abstract > > **Purpose:** Returns a statically determined *static enumeration value* from a static enumeration determined by the context. > > > [!TIP] > > Tooltip > > > > - **Usage**: The resolver returns the *static enumeration value* selected per parameter. The *input* *value* is ignored. > > - **Parameter**: The single parameter allows static single selection from all values in the *static* enumeration for the data type relevant in the context. ![images/download/attachments/128387106/image2023-1-11_11-8-41-version-1-modificationdate-1676010848810-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_11-8-41-version-1-modificationdate-1676010848810-api-v2.png) **IMPORTANT:** All resolvers for [Static values](/v1/docs/en/core-literal-value-resolver) ignore the *input value*. Within a resolver chain (see [Chained resolver](/v1/docs/en/core-chained-resolver)) this prevents the processing of all preceding resolvers (if any). The [Static enumeration](/v1/docs/en/core-enum-value-editor) resolver returns a statically determined *static enumeration value* from a static enumeration determined by the context. It appears by default as a suggestion for value configurations when the context refers to one particular static enumeration. Configuration | The [Combobox](/v1/docs/en/fre-combo-box-vo) element allows static single selection for values from all static enumerations defined in **Lobster Data Platform/Orchestration** source code. Its search function looks for matches between the text input and the enumeration value labels listed in the dropdown. The label contains the following components: - The localization for the static enumeration value, e.g. "Process exception". - The internal name of the static enumeration value, e.g. `PROCESS_EXCEPTION` **NOTE:** Unlike the [Any static enumeration](/v1/docs/en/core-any-enum-value-editor) resolver, the label omits the localization for the static enumeration specified by the context (here: "Abort type"). | ![images/download/attachments/128387106/image2023-1-11_11-11-3-version-1-modificationdate-1676010848807-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_11-11-3-version-1-modificationdate-1676010848807-api-v2.png) | | --- | --- | ►**IMPORTANT**◄ Unlike the [Any static enumeration](/v1/docs/en/core-any-enum-value-editor) resolver, the [Static enumeration](/v1/docs/en/core-enum-value-editor) resolver cannot be specifically added to a value configuration via a context menu. If an existing value configuration refers to a *static enumeration value* as a static value, then this automatically appears either as a [Static enumeration](/v1/docs/en/core-enum-value-editor) resolver or as [Any static enumeration](/v1/docs/en/core-any-enum-value-editor) resolver, depending on the possibly changing context in the configuration: | Scenario | Configuration | | --- | --- | | *Static enumeration (here: "Abort type") is uniquely defined by the context:* --- - The left side of the [Set value](/v1/docs/en/core-set-value-actor) event action defines a [Variable](/v1/docs/en/core-storage-value) (`myAbortType`) as the target of the assignment, whose **Class** "Abort type" (`AbortType`) specifies the static enumeration of the same name as the context for the value configuration of the compare value (right). - By default, the [Static enumeration](/v1/docs/en/core-enum-value-editor) resolver automatically appears for the value configuration on the right, offering only enumeration values from the static enumeration "Abort type" (`AbortType`) as options. - In the example, the value "Suppress" (`SUPPRESS`) was selected as the "Abort type". | ![images/download/attachments/128387106/image2023-1-11_11-12-11-version-1-modificationdate-1676010848803-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_11-12-11-version-1-modificationdate-1676010848803-api-v2.png) ▼ The appearance changes automatically depending on the selection for the **Class** of [Variable](/v1/docs/en/core-storage-value) (left) ▲ ![images/download/attachments/128387106/image2023-1-11_11-12-29-version-1-modificationdate-1676010848799-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_11-12-29-version-1-modificationdate-1676010848799-api-v2.png) | | *Reference to the static enumeration is not (any longer) guaranteed after modification:* --- - On the left side of the [Set value](/v1/docs/en/core-set-value-actor) event action, the selection for the **Class** parameter has been removed from the configuration for the [Variable](/v1/docs/en/core-storage-value). The context for the value configuration of the compare value (right) no longer refers to a specific static enumeration. - Instead of the [Static enumeration](/v1/docs/en/core-enum-value-editor) resolver, the [Any static enumeration](/v1/docs/en/core-any-enum-value-editor) resolver appears immediately, recognizable by the appearance of the label, in which the localization for the enumeration name (here: "Abort type") appears before the localization for the enumeration value. - If the **Class** "Abort type" matching the enumeration value is selected on the left, the [Static enumeration](/v1/docs/en/core-enum-value-editor) resolver appears again on the right (as above). | ## Example An event handling triggered by the common events "New" and "Copy" (see [Common action event](/v1/docs/en/core-common-action-event)) contains a block of "Common actions" and a block of "Specific actions for copy". The latter should only be executed if "Copy" (`COPY`) is present as a [Triggering event](/v1/docs/en/core-caused-event-resolver). Configuration: | The **Triggering events** selected are "New" and "Copy" (see [Common action event](/v1/docs/en/core-common-action-event)). --- The **Validating rule** refers to the common class "Entity" via [Check type](/v1/docs/en/core-check-type-rule). --- The **Action on passed rule** are only partially expanded in the image: - An [Execute with](/v1/docs/en/core-with-actor) event action labeled "Common actions" groups together all event actions that are to be executed independently of the triggering event. - The following [If then else](/v1/docs/en/core-if-then-else-actor) event action contains another [Execute with](/v1/docs/en/core-with-actor) event action in the *then* branch, which bundles all event actions that are to be executed exactly when the "Copy" event has triggered event handling at runtime. - The condition is defined by an [Entity property rule](/v1/docs/en/core-entity-property-rule): - On the left side, the [Triggering event](/v1/docs/en/core-caused-event-resolver) resolver is concatenated with an [Input object (type safe)](/v1/docs/en/core-root-entity-resolver) resolver. Since only **Triggering events** of the "Common" class (`CommonActionEvent`) are configured, the [Triggering event](/v1/docs/en/core-caused-event-resolver) resolver will surely return an event of this type. The [Input object (type safe)](/v1/docs/en/core-root-entity-resolver) resolver can therefore be used to declare the context "Common" for the compare value (right). - Therefore, once the [Equals](/v1/docs/en/core-equals-matcher) compare type is selected, the "matching" [Static enumeration](/v1/docs/en/core-enum-value-editor) resolver for the static enumeration "Common" is suggested on the right side. In the [Combobox](/v1/docs/en/fre-combo-box-vo) element, the event "Copy" (`COPY`) can therefore be selected accurately. | ![images/download/attachments/128387106/image2023-1-11_11-15-14-version-1-modificationdate-1676010848788-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_11-15-14-version-1-modificationdate-1676010848788-api-v2.png) | | --- | --- | | **NOTE:** If the concatenated [Input object (type safe)](/v1/docs/en/core-root-entity-resolver) resolver is removed from the configuration shown at the top right, then the [Static enumeration](/v1/docs/en/core-enum-value-editor) resolver is automatically replaced by the [Any static enumeration](/v1/docs/en/core-any-enum-value-editor) resolver. As shown in the image on the right, its label now shows the name of the static enumeration ("Common") as a prefix before the event. This has no influence on the function of the event handling. | ![images/download/attachments/128387106/image2023-1-11_11-15-50-version-1-modificationdate-1676010848783-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_11-15-50-version-1-modificationdate-1676010848783-api-v2.png) |