get value
FEEL built-in function · Context functions
get value(context, key)
Returns the value of the named entry, or null if the key does not exist. Useful when the key is only known at runtime.
Parameters
| Parameter | Type | Description |
|---|---|---|
| context | context | the context to read |
| key | string | the entry name |
Examples
get value({foo: 123}, "foo")
123
Try it →
get value({foo: 123}, "bar")
null
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).