-
Key: DMN15-23
-
Status: closed
-
Source: ACTICO ( Daniel Thanner)
-
Summary:
If an expression in a user defined function body references a name outside of it's scope (for example a parent scope), this scope must be available also during invocation of the function.
Examples:
- {f:function() a, a:1, i:f()}
possible, since name a is still available in local context (scope) during invocation
- {b:1,f:function() b}
.f() impossible, since name b is not available outside of the context.
It would be nice if the semantic mapping and the differentiation between function definition and invocation is clearly specified in the spec. What names can be referenced? Must the scopes also be available during invocation?
- {f:function() a, a:1, i:f()}
-
Reported: DMN 1.1 — Wed, 3 May 2017 15:24 GMT
-
Disposition: Deferred — DMN 1.5
-
Disposition Summary:
Defer to DMN 1.6
Defer to DMN 1.6
-
Updated: Fri, 30 Jun 2023 20:31 GMT
DMN15 — Can an expression in user defined function body reference a name outside of it's scope?
- Key: DMN15-23
- OMG Task Force: Decision Model and Notation 1.5 RTF