mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 22:25:14 +00:00
112 lines
5.8 KiB
XML
112 lines
5.8 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_Gateway" 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="Gateway_1n4p8kw" />
|
|
<bpmn:parallelGateway id="Gateway_1n4p8kw">
|
|
<bpmn:incoming>Flow_0c31sox</bpmn:incoming>
|
|
<bpmn:incoming>Flow_1dozwiq</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:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Unit_Test_Parallel_Gateway">
|
|
<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="685" y="152" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_15tpmbi_di" bpmnElement="Activity_1lmf7i7">
|
|
<dc:Bounds x="790" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_07w924i_di" bpmnElement="Event_07w924i">
|
|
<dc:Bounds x="952" y="159" width="36" height="36" />
|
|
</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="685" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1dozwiq_di" bpmnElement="Flow_1dozwiq">
|
|
<di:waypoint x="630" y="290" />
|
|
<di:waypoint x="710" y="290" />
|
|
<di:waypoint x="710" y="202" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0cvwqe3_di" bpmnElement="Flow_0cvwqe3">
|
|
<di:waypoint x="735" y="177" />
|
|
<di:waypoint x="790" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1i6o00e_di" bpmnElement="Flow_1i6o00e">
|
|
<di:waypoint x="890" y="177" />
|
|
<di:waypoint x="952" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|