--- title: "Enumeration" slug: "core-dynamic-enum-value-editor" updated: 2026-04-16T09:08:28Z published: 2026-04-16T09:08:28Z canonical: "docs.lobstersoftware.com/core-dynamic-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. # Enumeration *See also:* [Any enumeration](/v1/docs/en/core-any-dynamic-enum-value-editor) > [!NOTE] > Resolver – Abstract > > **Purpose:** Returns a statically determined *enumeration* *value* (`DynamicEnum`) from an enumeration determined by the context. > > > [!TIP] > > Tooltip > > > > - **Usage**: The resolver returns the *enumeration value* selected by the parameter. The *input value* is ignored. > > - **Parameter**: The single parameter allows a static single selection from all *enumeratio*n values for the data type that is relevant in the context. > > - **NOTE:** [Enumeration filters](/v1/docs/en/core-dynamic-enum-filter) do not restrict the choice for the enumeration value either during configuration or at runtime. ![images/download/attachments/201673362/image2023-1-11_7-55-5-version-1-modificationdate-1746778132569-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_7-55-5-version-1-modificationdate-1746778132569-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 [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor) resolver returns a statically determined *enumeration* *value* (`DynamicEnum`) from a enumeration determined by the context. It appears by default as a suggestion for value configurations when the context refers to the one particular enumeration (see [Enumerations](/v1/docs/en/core-dynamic-enum-definition)). Configuration | The [Combobox](/v1/docs/en/fre-combo-box-vo) element allows static single selection for values from all enumerations (see [Enumerations](/v1/docs/en/core-dynamic-enum-definition)). Its search function looks for matches between the text input and the labels listed in the dropdown for the enumeration values. The label includes the following components: - The localization for the enumeration value, e.g. "French". - The internal name of the enumeration value, e.g. `fr` **NOTE:** Unlike the [Any enumeration](/v1/docs/en/core-any-dynamic-enum-value-editor) resolver, the label omits the localization for the enumeration given by the context. | ![images/download/attachments/201673362/image2023-1-11_7-56-54-version-1-modificationdate-1746778132571-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_7-56-54-version-1-modificationdate-1746778132571-api-v2.png) | | --- | --- | **IMPORTANT:** Unlike the [Any enumeration](/v1/docs/en/core-any-dynamic-enum-value-editor) resolver, the [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor) resolver cannot be specifically added to a value configuration via a context menu. If an existing value configuration refers to a *enumeration value* as a static value, then this automatically appears in the configuration either as a [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor) resolver or as an [Any enumeration](/v1/docs/en/core-any-dynamic-enum-value-editor) resolver, depending on the possibly changing context: | Scenario | Configuration | | --- | --- | | *Enumeration (here:* [Locale](/v1/docs/en/core-locale)*) 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) (`myLocale`) as the target of the assignment, whose **Class** [Locale](/v1/docs/en/core-locale) specifies the enumeration of the same name as the context for the value configuration of the compare value (right). - By default, the [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor) resolver automatically appears for the value configuration on the right, offering only enumeration values from the enumeration [Locale](/v1/docs/en/core-locale) as options. - In the example, the [Locale](/v1/docs/en/core-locale) "English" (`en`) was selected as the value. | ![images/download/attachments/201673362/image2023-1-11_7-58-46-version-1-modificationdate-1746778132573-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_7-58-46-version-1-modificationdate-1746778132573-api-v2.png) ▼ The appearance changes automatically depending on the selection for the **Class** of the [Variable](/v1/docs/en/core-storage-value) (left) ▲ ![images/download/attachments/201673362/image2023-1-11_7-59-7-version-1-modificationdate-1746778132576-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_7-59-7-version-1-modificationdate-1746778132576-api-v2.png) | | *Reference to the 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 compare value configuration (right) no longer refers to a specific enumeration. - Instead of the [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor) resolver, the [Any enumeration](/v1/docs/en/core-any-dynamic-enum-value-editor) resolver appears immediately, recognizable by the appearance of the label, in which the localization for the enumeration name (here: [Locale](/v1/docs/en/core-locale)) appears before the localization for the enumeration value. - If the **Class** [Locale](/v1/docs/en/core-locale) matching the enumeration value is selected on the left, the [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor) resolver appears again on the right (as above). | ## Example An association criterion is considered to pass exactly when the [Current locale](/v1/docs/en/core-current-locale-resolver) is "French" in the context of a session. Whether a country-specific language selection (`fr_CA`, `fr_FR` or `fr_CH`) is present is ignored. ![images/download/attachments/201673362/image2023-1-11_8-0-57-version-1-modificationdate-1746778132578-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2023-1-11_8-0-57-version-1-modificationdate-1746778132578-api-v2.png) - In the context of an [Entity property rule](/v1/docs/en/core-entity-property-rule), the [Current locale](/v1/docs/en/core-current-locale-resolver) resolver is configured first on the left side, for which the **Locale without country** option is checked here. - As soon as the compare type [Equals](/v1/docs/en/core-equals-matcher) is selected afterwards, the value configuration with the *compare value* appears on the right. - Since the return value for the [Current locale](/v1/docs/en/core-current-locale-resolver) (left) uniquely refers to the [Locale](/v1/docs/en/core-locale) data type defined by the enumeration, a [Enumeration](/v1/docs/en/core-dynamic-enum-value-editor) resolver with this data or enumeration type is automatically suggested for the *compare value* (right).