Any dynamic enumeration
See also: Dynamic enumeration, Unit, Any static enumeration
Resolver – Abstract
Purpose: Returns a statically determined dynamic enumeration value from an arbitrary dynamic enumeration.
►IMPORTANT◄ All resolvers for Static values ignore the input value. Within a resolver chain (see Verketteter Wertauflöser) this prevents the processing of all preceding resolvers (if any).
The Any dynamic enumeration resolver returns a statically determined dynamic enumeration value (DynamicEnum) from an arbitrary dynamic enumeration.
It appears by default as a suggestion for value configurations when the context refers to the dynamic enumeration (DynamicEnum) class without specifying the enumeration type.
The Jede dynamische Aufzaehlung (Statische Werte resolver can also be accessed specifically (via context menu in a value configuration) to insert a dynamic enumeration value without the context suggesting it.
►NOTE◄
The enumeration type is often uniquely determined by the context when a value configuration statically assigns a dynamic enumeration value. Then, instead of the Any dynamic enumeration resolver, a Dynamic enumeration resolver automatically appears. This is also true if the context is only 'specified' afterwards by changes in the environment of an existing value configuration with the Any static enumeration resolver (for details see section 'Configuration' for the Dynamic enumeration resolver).
Targeted access to the subset of dynamic enumerations used to define Units in Lobster Data Platform / Orchestration is provided by the Units resolver.
The Any static enumeration resolver provides access to the values of static enumerations predefined in Lobster Data Platform / Orchestration.
Configuration
The Auswahlfeld/Combobox element allows static single selection for values from all dynamic enumerations (see Dynamic enumerations). 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 dynamic enumeration to which a selected value belongs is identified as the class for the return value. |
|
Example
A myDenumList list variable is used to 'collect' information in the form of dynamic enumeration values, which can come from different dynamic enumerations, depending on the course of a transaction. Towards the end of event processing, this 'collection' is processed as a whole. The following screenshot shows an excerpt of an event handling in which a last value is added to the myDenumList list variable via Modify list before the evaluation is started by a For each loop event action.
Since 'Dynamic enumeration' is specified as the Class for the list in the myDenumList variable, an Any dynamic enumeration resolver is suggested on the right side of the Modify list event action.
In this specific case, the dynamic enumeration value for the Type of packaging 'Tank container' (TC) is added. As the result of the search for the text input container makes clear, matches from other dynamic enumerations are also suggested.