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

ParameterTypeDescription
contextcontextthe context to read
keystringthe entry name

Examples

get value({foo: 123}, "foo")
get value({foo: 123}, "bar")

Related functions

get entries · context put

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).