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.
Answered by
StrayAlien
Jun 14, 2021
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.
1 reply
Answer selected by
tarilabs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.