What would these FEEL expressions evaluate to? #451
-
I would want results per DMN 1.1. If it is by later version of spec please specify. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @deostroll , The first would be {a: 10, b:20}, the second would be {b: null, a:12}. As context entries are evaluated, they are available in scope for subsequent entries. For the second one, the I'm not sure if that was for 1.1 or not (I came to DMN after 1.1), but that is what it is now. You'll find some tests here: https://github.com/dmn-tck/tck/tree/master/TestCases/compliance-level-3/0057-feel-context. |
Beta Was this translation helpful? Give feedback.
Hi @deostroll ,
The first would be {a: 10, b:20}, the second would be {b: null, a:12}.
As context entries are evaluated, they are available in scope for subsequent entries. For the second one, the
a
is not in scope so therefore would benull
. Adding10
tonull
isnull
.I'm not sure if that was for 1.1 or not (I came to DMN after 1.1), but that is what it is now.
You'll find some tests here: https://github.com/dmn-tck/tck/tree/master/TestCases/compliance-level-3/0057-feel-context.