Hi everyone,
I am currently trying to change the “Create expanded SubProcess”-Element to create an Event Sub Process instead. I have a custom Palette Provider and know that
var subProcess = elementFactory.createShape({
type: 'bpmn:SubProcess',
x: 0,
y: 0,
isExpanded: true,
options: { triggeredByEvent: "true" }
});
creates
<bpmn2:subProcess id="Activity_0goo9p8">
How would I create this:
<bpmn2:subProcess id="Activity_04cjea9" triggeredByEvent="true">