Closed azeghers closed 4 years ago
Works in principle :heavy_check_mark:
Tested with calledElement => works Tested with Input Output Parameters => kind of works, (Inputs and Outputs are removed), but the surrounding IoMapping element remains present. (ie. this is what a task looks likes after it was morphed from a ServiceTask which had Input and Output mappings:
<bpmn:task id="Activity_117rfe9" name="asdf">
<bpmn:extensionElements>
<zeebe:ioMapping />
</bpmn:extensionElements>
</bpmn:task>
We should get this "works 50%" state resolved. Therefore I will directly create an Issue in zeebe-bpmn-moddle and propose to merge this after we have zeebe-bpmn-moddle fixed.
Description
Bumps zeebe-bpmn-moddle to v0.3.0 and integrates the new moddle extension.
The extension ensures that properties are allowed to be copied when replacing elements. Eg. a
CallActivity
with acalledElement
attribute changed to a simpleTask
won't have itscalledElement
copied because it's not allowed onTask
elements, in accordance with the json schema.The schema itself is incomplete in its current version and doesn't specify for instance that a
<zeebe:TaskDefinition>
isn't allowed on anything else than aServiceTask
, implicitely allowing the property to be copied regardless of the parent element's type.See https://github.com/zeebe-io/zeebe-bpmn-moddle/issues/4 for context
Which issue does this PR address?
Closes #248
Acceptance Criteria
Definition of Done