Last active
September 21, 2020 03:23
-
-
Save saig0/9ac77f0f6abe7a75bfb3a0f9fe79a924 to your computer and use it in GitHub Desktop.
BPMN with collecting message variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1kevkh1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Zeebe Modeler" exporterVersion="0.10.0"> | |
<bpmn:process id="collect-message-variables" isExecutable="true"> | |
<bpmn:startEvent id="StartEvent_1"> | |
<bpmn:extensionElements> | |
<zeebe:ioMapping> | |
<zeebe:output source="=[]" target="updates" /> | |
</zeebe:ioMapping> | |
</bpmn:extensionElements> | |
<bpmn:outgoing>Flow_1f5qydh</bpmn:outgoing> | |
</bpmn:startEvent> | |
<bpmn:sequenceFlow id="Flow_1f5qydh" sourceRef="StartEvent_1" targetRef="Activity_0ukua13" /> | |
<bpmn:sequenceFlow id="Flow_0uvto3i" sourceRef="Activity_0ukua13" targetRef="Activity_0os4s51" /> | |
<bpmn:serviceTask id="Activity_0ukua13" name="A"> | |
<bpmn:extensionElements> | |
<zeebe:taskDefinition type="task-a" /> | |
</bpmn:extensionElements> | |
<bpmn:incoming>Flow_1f5qydh</bpmn:incoming> | |
<bpmn:outgoing>Flow_0uvto3i</bpmn:outgoing> | |
</bpmn:serviceTask> | |
<bpmn:serviceTask id="Activity_0os4s51" name="B"> | |
<bpmn:extensionElements> | |
<zeebe:taskDefinition type="task-b" /> | |
</bpmn:extensionElements> | |
<bpmn:incoming>Flow_0uvto3i</bpmn:incoming> | |
<bpmn:outgoing>Flow_1tf7m80</bpmn:outgoing> | |
</bpmn:serviceTask> | |
<bpmn:sequenceFlow id="Flow_1tf7m80" sourceRef="Activity_0os4s51" targetRef="Activity_07rxq5c" /> | |
<bpmn:endEvent id="Event_18m9pu2"> | |
<bpmn:incoming>Flow_1vjr8iq</bpmn:incoming> | |
</bpmn:endEvent> | |
<bpmn:sequenceFlow id="Flow_1vjr8iq" sourceRef="Activity_07rxq5c" targetRef="Event_18m9pu2" /> | |
<bpmn:serviceTask id="Activity_07rxq5c" name="C"> | |
<bpmn:extensionElements> | |
<zeebe:taskDefinition type="task-c" /> | |
</bpmn:extensionElements> | |
<bpmn:incoming>Flow_1tf7m80</bpmn:incoming> | |
<bpmn:outgoing>Flow_1vjr8iq</bpmn:outgoing> | |
</bpmn:serviceTask> | |
<bpmn:subProcess id="Activity_0tempkt" triggeredByEvent="true"> | |
<bpmn:startEvent id="Event_027ltcq" name="update" isInterrupting="false"> | |
<bpmn:extensionElements> | |
<zeebe:ioMapping> | |
<zeebe:output source="=append(updates,"fake")" target="updates" /> | |
</zeebe:ioMapping> | |
</bpmn:extensionElements> | |
<bpmn:outgoing>Flow_1uji3qi</bpmn:outgoing> | |
<bpmn:messageEventDefinition id="MessageEventDefinition_03ex844" messageRef="Message_1ag0ndp" /> | |
</bpmn:startEvent> | |
<bpmn:sequenceFlow id="Flow_1uji3qi" sourceRef="Event_027ltcq" targetRef="Activity_0zrvog6" /> | |
<bpmn:endEvent id="Event_0ig6q4g"> | |
<bpmn:incoming>Flow_02oeumr</bpmn:incoming> | |
</bpmn:endEvent> | |
<bpmn:sequenceFlow id="Flow_02oeumr" sourceRef="Activity_0zrvog6" targetRef="Event_0ig6q4g" /> | |
<bpmn:serviceTask id="Activity_0zrvog6" name="E"> | |
<bpmn:extensionElements> | |
<zeebe:taskDefinition type="task-e" /> | |
</bpmn:extensionElements> | |
<bpmn:incoming>Flow_1uji3qi</bpmn:incoming> | |
<bpmn:outgoing>Flow_02oeumr</bpmn:outgoing> | |
</bpmn:serviceTask> | |
</bpmn:subProcess> | |
<bpmn:boundaryEvent id="Event_00wm99o" name="10 min" attachedToRef="Activity_0os4s51"> | |
<bpmn:outgoing>Flow_0bl02u4</bpmn:outgoing> | |
<bpmn:timerEventDefinition id="TimerEventDefinition_08w8uib"> | |
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT10M</bpmn:timeDuration> | |
</bpmn:timerEventDefinition> | |
</bpmn:boundaryEvent> | |
<bpmn:sequenceFlow id="Flow_0bl02u4" sourceRef="Event_00wm99o" targetRef="Activity_03zlirx" /> | |
<bpmn:endEvent id="Event_1jxr4t8"> | |
<bpmn:incoming>Flow_0grb2ul</bpmn:incoming> | |
</bpmn:endEvent> | |
<bpmn:sequenceFlow id="Flow_0grb2ul" sourceRef="Activity_03zlirx" targetRef="Event_1jxr4t8" /> | |
<bpmn:serviceTask id="Activity_03zlirx" name="D"> | |
<bpmn:extensionElements> | |
<zeebe:taskDefinition type="task-d" /> | |
</bpmn:extensionElements> | |
<bpmn:incoming>Flow_0bl02u4</bpmn:incoming> | |
<bpmn:outgoing>Flow_0grb2ul</bpmn:outgoing> | |
</bpmn:serviceTask> | |
</bpmn:process> | |
<bpmn:message id="Message_1ag0ndp" name="update"> | |
<bpmn:extensionElements> | |
<zeebe:subscription correlationKey="=key" /> | |
</bpmn:extensionElements> | |
</bpmn:message> | |
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | |
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="collect-message-variables"> | |
<bpmndi:BPMNEdge id="Flow_0grb2ul_di" bpmnElement="Flow_0grb2ul"> | |
<di:waypoint x="690" y="120" /> | |
<di:waypoint x="752" y="120" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_0bl02u4_di" bpmnElement="Flow_0bl02u4"> | |
<di:waypoint x="510" y="189" /> | |
<di:waypoint x="510" y="120" /> | |
<di:waypoint x="590" y="120" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_1vjr8iq_di" bpmnElement="Flow_1vjr8iq"> | |
<di:waypoint x="690" y="247" /> | |
<di:waypoint x="752" y="247" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_1tf7m80_di" bpmnElement="Flow_1tf7m80"> | |
<di:waypoint x="530" y="247" /> | |
<di:waypoint x="590" y="247" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_0uvto3i_di" bpmnElement="Flow_0uvto3i"> | |
<di:waypoint x="370" y="247" /> | |
<di:waypoint x="430" y="247" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_1f5qydh_di" bpmnElement="Flow_1f5qydh"> | |
<di:waypoint x="215" y="247" /> | |
<di:waypoint x="270" y="247" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> | |
<dc:Bounds x="179" y="229" width="36" height="36" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_0d3vrsi_di" bpmnElement="Activity_0ukua13"> | |
<dc:Bounds x="270" y="207" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_0svyzk3_di" bpmnElement="Activity_0os4s51"> | |
<dc:Bounds x="430" y="207" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Event_18m9pu2_di" bpmnElement="Event_18m9pu2"> | |
<dc:Bounds x="752" y="229" width="36" height="36" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_18qiybs_di" bpmnElement="Activity_07rxq5c"> | |
<dc:Bounds x="590" y="207" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_01ifswl_di" bpmnElement="Activity_0tempkt" isExpanded="true"> | |
<dc:Bounds x="180" y="360" width="350" height="200" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNEdge id="Flow_02oeumr_di" bpmnElement="Flow_02oeumr"> | |
<di:waypoint x="410" y="460" /> | |
<di:waypoint x="472" y="460" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_1uji3qi_di" bpmnElement="Flow_1uji3qi"> | |
<di:waypoint x="256" y="460" /> | |
<di:waypoint x="310" y="460" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNShape id="Event_1iipor9_di" bpmnElement="Event_027ltcq"> | |
<dc:Bounds x="220" y="442" width="36" height="36" /> | |
<bpmndi:BPMNLabel> | |
<dc:Bounds x="221" y="485" width="34" height="14" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Event_0ig6q4g_di" bpmnElement="Event_0ig6q4g"> | |
<dc:Bounds x="472" y="442" width="36" height="36" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_1sju8lx_di" bpmnElement="Activity_0zrvog6"> | |
<dc:Bounds x="310" y="420" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Event_1jxr4t8_di" bpmnElement="Event_1jxr4t8"> | |
<dc:Bounds x="752" y="102" width="36" height="36" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_010prhi_di" bpmnElement="Activity_03zlirx"> | |
<dc:Bounds x="590" y="80" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Event_0za864m_di" bpmnElement="Event_00wm99o"> | |
<dc:Bounds x="492" y="189" width="36" height="36" /> | |
<bpmndi:BPMNLabel> | |
<dc:Bounds x="523" y="183" width="33" height="14" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
</bpmndi:BPMNPlane> | |
</bpmndi:BPMNDiagram> | |
</bpmn:definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment