2024-07-15 10:40:05 -04:00

128 lines
6.6 KiB
XML

<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Unit_Test_Parallel_GatewayTest" name="Unit Test Parallel Gateway" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_016iejh</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_016iejh" sourceRef="StartEvent_1" targetRef="Gateway_1rhwukq" />
<bpmn:sequenceFlow id="Flow_0z3u9bl" sourceRef="Gateway_1rhwukq" targetRef="Activity_03mw0fp" />
<bpmn:sequenceFlow id="Flow_00zqcnr" sourceRef="Gateway_1rhwukq" targetRef="Activity_1rtysed" />
<bpmn:parallelGateway id="Gateway_1rhwukq" name="Parallel Gateway">
<bpmn:incoming>Flow_016iejh</bpmn:incoming>
<bpmn:outgoing>Flow_0z3u9bl</bpmn:outgoing>
<bpmn:outgoing>Flow_00zqcnr</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:scriptTask id="Activity_03mw0fp" name="y = 1">
<bpmn:incoming>Flow_0z3u9bl</bpmn:incoming>
<bpmn:outgoing>Flow_0c31sox</bpmn:outgoing>
<bpmn:script>y = 1</bpmn:script>
</bpmn:scriptTask>
<bpmn:scriptTask id="Activity_1rtysed" name="z = 2">
<bpmn:incoming>Flow_00zqcnr</bpmn:incoming>
<bpmn:outgoing>Flow_1dozwiq</bpmn:outgoing>
<bpmn:script>z = 2
exp_details1 = {
"requestor_work_email" : "core.contributor@status.im",
"core_contributor_legal" : "Test - Core Contributor",
"requestor_auth_username" : "core.contributor@status.im" }</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0c31sox" sourceRef="Activity_03mw0fp" targetRef="Activity_04ntktc" />
<bpmn:parallelGateway id="Gateway_1n4p8kw">
<bpmn:incoming>Flow_1dozwiq</bpmn:incoming>
<bpmn:incoming>Flow_14g2nmu</bpmn:incoming>
<bpmn:outgoing>Flow_0cvwqe3</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="Flow_1dozwiq" sourceRef="Activity_1rtysed" targetRef="Gateway_1n4p8kw" />
<bpmn:sequenceFlow id="Flow_0cvwqe3" sourceRef="Gateway_1n4p8kw" targetRef="Activity_1lmf7i7" />
<bpmn:scriptTask id="Activity_1lmf7i7" name="x = y + z">
<bpmn:incoming>Flow_0cvwqe3</bpmn:incoming>
<bpmn:outgoing>Flow_1i6o00e</bpmn:outgoing>
<bpmn:script>x = y + z</bpmn:script>
</bpmn:scriptTask>
<bpmn:endEvent id="Event_07w924i">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>End Parallel Gateway Unit Test. Result x = {{x}}.</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1i6o00e</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1i6o00e" sourceRef="Activity_1lmf7i7" targetRef="Event_07w924i" />
<bpmn:manualTask id="Activity_04ntktc" name="Manual Task">
<bpmn:extensionElements>
<spiffworkflow:postScript>y = 10</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0c31sox</bpmn:incoming>
<bpmn:outgoing>Flow_14g2nmu</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_14g2nmu" sourceRef="Activity_04ntktc" targetRef="Gateway_1n4p8kw" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Unit_Test_Parallel_GatewayTest">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="332" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_10tgwiv_di" bpmnElement="Gateway_1rhwukq">
<dc:Bounds x="425" y="152" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="410" y="122" width="84" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0wui64y_di" bpmnElement="Activity_03mw0fp">
<dc:Bounds x="530" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0b2p378_di" bpmnElement="Activity_1rtysed">
<dc:Bounds x="530" y="250" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0g6874c_di" bpmnElement="Gateway_1n4p8kw">
<dc:Bounds x="815" y="152" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_15tpmbi_di" bpmnElement="Activity_1lmf7i7">
<dc:Bounds x="930" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_07w924i_di" bpmnElement="Event_07w924i">
<dc:Bounds x="1152" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0tqjae5_di" bpmnElement="Activity_04ntktc">
<dc:Bounds x="670" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_016iejh_di" bpmnElement="Flow_016iejh">
<di:waypoint x="368" y="177" />
<di:waypoint x="425" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0z3u9bl_di" bpmnElement="Flow_0z3u9bl">
<di:waypoint x="475" y="177" />
<di:waypoint x="530" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00zqcnr_di" bpmnElement="Flow_00zqcnr">
<di:waypoint x="450" y="202" />
<di:waypoint x="450" y="290" />
<di:waypoint x="530" y="290" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0c31sox_di" bpmnElement="Flow_0c31sox">
<di:waypoint x="630" y="177" />
<di:waypoint x="670" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1dozwiq_di" bpmnElement="Flow_1dozwiq">
<di:waypoint x="630" y="290" />
<di:waypoint x="840" y="290" />
<di:waypoint x="840" y="202" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0cvwqe3_di" bpmnElement="Flow_0cvwqe3">
<di:waypoint x="865" y="177" />
<di:waypoint x="930" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1i6o00e_di" bpmnElement="Flow_1i6o00e">
<di:waypoint x="1030" y="177" />
<di:waypoint x="1152" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14g2nmu_di" bpmnElement="Flow_14g2nmu">
<di:waypoint x="770" y="177" />
<di:waypoint x="815" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>