An example of the XML of a signal intermediate catch events is:
<bpmn2:intermediateCatchEvent id="IntermediateCatchEvent5"> <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming> <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing> <bpmn2:timerEventDefinition> <bpmn2:timeDuration xsi:type="bpmn2:tFormalExpression">P5D</bpmn2:timeDuration> </bpmn2:timerEventDefinition> </bpmn2:intermediateCatchEvent>
Note: This will wait five days before continuing the process.
An example of the XML for timeDate is:
<bpmn2:timerEventDefinition> <bpmn2:timeDate xsi:type="bpmn2:tFormalExpression">2017-05-17T12:42:23Z</bpmn2:timeDate> </bpmn2:timerEventDefinition>
An example of the XML for timeDuration is:
<bpmn2:timerEventDefinition> <bpmn2:timeDuration xsi:type="bpmn2:tFormalExpression">P5D</bpmn2:timeDuration> </bpmn2:timerEventDefinition>
Note: This represents a duration of 5 days.
An example of the XML for timeCycle using time interval syntax is:
<bpmn2:timerEventDefinition> <bpmn2:timeCycle xsi:type="bpmn2:tFormalExpression">R3/PT30M</bpmn2:timeCycle> </bpmn2:timerEventDefinition>
Note: This represents three repetitions every 30 minutes.
An example of the XML for timeCycle using a cron expression is:
<bpmn2:timerEventDefinition> <bpmn2:timeCycle>0 0/5 * * * ?</bpmn2:timeCycle> </bpmn2:timerEventDefinition>
Note: This represents a trigger firing every 5 minutes beginning at
the top of the hour.