There’s probably a bug in JUEL variable resolution, possibly related to the one described in this post.
If event is a bean exposing the payload property and I pass both event and the payload input variables to the engine for the attached decision table, evaluation of the output expression event.payload proceeds as follows:
- AstProperty#eval resolves base to the event bean and set property to “payload”,
- the resolver call to VariableContextElResolver#getValue uses only the property name, so that the value of payload input variable is returned.
decision1.dmn (931 Bytes)