Closed barmac closed 1 year ago
This is now ready for review.
I need to adjust it. Let's state expression is not allowed only in case it's allowed for some version of Camunda. So no validation for catch events.
I removed the no-expression
part completely. In C8, either escalation is disallowed at all or we can type expressions wherever the properties panel supports it.
On the other hand, the engine won't allow =myCode
as a static escalation code:
Command 'CREATE' rejected with code 'INVALID_ARGUMENT': Expected to deploy new resources, but encountered the following errors:
'escalation-test.bpmn': - Element: BoundaryEventDefinition
- ERROR: The escalationCode of the escalation catch event is not allowed to be an expression
- Element: StartEventDefinition
- ERROR: The escalationCode of the escalation catch event is not allowed to be an expression
[ deploy-error ]
Ready for review.
Related to https://github.com/camunda/camunda-modeler/issues/3318