Closed yrashk closed 3 years ago
BPMN specification defines conditionExpression as tExpression (an underspecified informal expression) but they are routinely used in a different fashion to make them executable.
conditionExpression
tExpression
https://www.omg.org/cgi-bin/doc?dtc/10-06-02.pdf shows the use of xsi:type to change the resolution of the type to tFormalExpression:
xsi:type
tFormalExpression
<conditionExpression xsi:type="tFormalExpression"> ${getDataObject("TicketDataObject").status == "Open"} </conditionExpression>
Proposed solution: write own deserialization derivation (it's one of the proposed solutions for #1, too)
BPMN specification defines
conditionExpression
astExpression
(an underspecified informal expression) but they are routinely used in a different fashion to make them executable.https://www.omg.org/cgi-bin/doc?dtc/10-06-02.pdf shows the use of
xsi:type
to change the resolution of the type totFormalExpression
:Proposed solution: write own deserialization derivation (it's one of the proposed solutions for #1, too)