Get element by key
The Get element by key operator retrieves the value associated with a specific key from a key-value structure, such as a map. This is useful when accessing dynamic or structured data returned by reports, APIs, or other components in the flow.
Input:
A map-like data structure and a key (text) whose value you want to retrieve.
Output:
The value stored for the specified key.
Example 95.
In this example, ${Run report.outputMessage.outputvalue.stringMapItem} returns a map containing key-value pairs returned from a report.
Number of models in database is the key.
GET_ELEMENT_BY_KEY(${Run report.outputMessage.outputvalue.stringMapItem},'number of models in database')
Example 96.
The result is the value, for example, a number associated with that key.