-
Key: DMN14-183
-
Status: closed
-
Source: Camunda Services GmbH ( Mr. Philipp Ossler)
-
Summary:
Currently, it is not possible to create or modify a context dynamically. A context can only be declared statically.
We need to model a decision that gets a context, adds or removes entries, and returns a new context. For example, by using the get entries() function of a given context and modifying the entry list with a filter expression or list functions.
Suggestions:
- introduce a new conversion built-in function for context as reverse function to get entries()
- it is named `context`
- it has one argument: entries... (type: list<context<Any>>) - each context must have two entries with the keys: "key" and "value"
- it returns a new context that includes all given entries
context([{"key":"a", "value":1}, {"key":"b", "value":2}]) // returns: {a:1, b:2}
-
Reported: DMN 1.3 — Tue, 22 Jun 2021 04:11 GMT
-
Disposition: Duplicate or Merged — DMN 1.4
-
Disposition Summary:
Close as merged
Resolved as part of
DMN14-187 -
Updated: Thu, 31 Mar 2022 19:30 GMT
DMN14 — New built-in function to create a new context
- Key: DMN14-183
- OMG Task Force: Decision Model and Notation 1.4 RTF