Hi,
I want to create the following startEvent with outgoing and timeEventDefinition as sub element.
<bpmn:startEvent id="StartEvent_1y9irep">
<bpmn:outgoing>Flow_0sqgplm</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_03yikjg" />
</bpmn:startEvent>
I’m creating startEvent as follows :
let StartEvent = moddle.create('bpmn:StartEvent', {
id: 'StartEvent_1y9irep',
})
;
which gives me
<bpmn2:startEvent id="StartEvent_1y9irep" />
How do i add outgoing and timeEventDefinition to startEvent.
Can you please help me with this.
Regards,
Pratik