mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-17 21:51:43 +00:00
0892db6fa7
git-subtree-dir: SpiffWorkflow git-subtree-split: 63db3e45947ec66b8d0efc2c74064004f8ff482c
244 lines
13 KiB
XML
244 lines
13 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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0ucc3vj" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.0">
|
|
<bpmn:collaboration id="Collaboration_0fh00ao">
|
|
<bpmn:participant id="Participant_1p8gtyd" name="Sample Process " processRef="Process_1kjyavs" />
|
|
</bpmn:collaboration>
|
|
<bpmn:process id="Process_1kjyavs" name="MessageBoundary" isExecutable="true">
|
|
<bpmn:laneSet id="LaneSet_1dwwv2e">
|
|
<bpmn:lane id="Lane_0rpib5y" name="Boss">
|
|
<bpmn:flowNodeRef>Event_0d3xq5q</bpmn:flowNodeRef>
|
|
<bpmn:flowNodeRef>Activity_Interrupt</bpmn:flowNodeRef>
|
|
<bpmn:flowNodeRef>Gateway_0ncff13</bpmn:flowNodeRef>
|
|
<bpmn:flowNodeRef>Event_0l8sadb</bpmn:flowNodeRef>
|
|
<bpmn:flowNodeRef>Event_0g8w85g</bpmn:flowNodeRef>
|
|
</bpmn:lane>
|
|
<bpmn:lane id="Lane_0gfw5kf" name="Worker">
|
|
<bpmn:flowNodeRef>Event_12moz8m</bpmn:flowNodeRef>
|
|
<bpmn:flowNodeRef>Event_0j702hl</bpmn:flowNodeRef>
|
|
<bpmn:flowNodeRef>Activity_1m4766l</bpmn:flowNodeRef>
|
|
<bpmn:flowNodeRef>Event_InterruptBoundary</bpmn:flowNodeRef>
|
|
</bpmn:lane>
|
|
</bpmn:laneSet>
|
|
<bpmn:startEvent id="Event_0d3xq5q">
|
|
<bpmn:outgoing>Flow_0bvln2b</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_0bvln2b" sourceRef="Event_0d3xq5q" targetRef="Activity_Interrupt" />
|
|
<bpmn:userTask id="Activity_Interrupt" name="Interrupt Work?" camunda:formKey="Interrupt">
|
|
<bpmn:extensionElements>
|
|
<camunda:formData>
|
|
<camunda:formField id="interrupt_task" label="Interrupt Task?" type="string" />
|
|
</camunda:formData>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0bvln2b</bpmn:incoming>
|
|
<bpmn:incoming>Flow_1t2ocwk</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1ya6ran</bpmn:outgoing>
|
|
</bpmn:userTask>
|
|
<bpmn:exclusiveGateway id="Gateway_0ncff13" default="Flow_1t2ocwk">
|
|
<bpmn:incoming>Flow_1ya6ran</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0saykw5</bpmn:outgoing>
|
|
<bpmn:outgoing>Flow_1t2ocwk</bpmn:outgoing>
|
|
</bpmn:exclusiveGateway>
|
|
<bpmn:sequenceFlow id="Flow_1ya6ran" sourceRef="Activity_Interrupt" targetRef="Gateway_0ncff13" />
|
|
<bpmn:sequenceFlow id="Flow_0saykw5" name="Yes" sourceRef="Gateway_0ncff13" targetRef="Event_0g8w85g">
|
|
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">interrupt_task == 'Yes'</bpmn:conditionExpression>
|
|
</bpmn:sequenceFlow>
|
|
<bpmn:intermediateThrowEvent id="Event_0g8w85g" name="Send Interrupt Message">
|
|
<bpmn:incoming>Flow_0saykw5</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0lekhj5</bpmn:outgoing>
|
|
<bpmn:messageEventDefinition id="MessageEventDefinition_1cph049" messageRef="Message_0vb4lj2" camunda:expression=""Interrupt!"" />
|
|
</bpmn:intermediateThrowEvent>
|
|
<bpmn:endEvent id="Event_0l8sadb">
|
|
<bpmn:incoming>Flow_0lekhj5</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_0lekhj5" sourceRef="Event_0g8w85g" targetRef="Event_0l8sadb" />
|
|
<bpmn:sequenceFlow id="Flow_1t2ocwk" name="No " sourceRef="Gateway_0ncff13" targetRef="Activity_Interrupt" />
|
|
<bpmn:startEvent id="Event_12moz8m">
|
|
<bpmn:outgoing>Flow_1gd7a2h</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_1gd7a2h" sourceRef="Event_12moz8m" targetRef="Activity_1m4766l" />
|
|
<bpmn:sequenceFlow id="Flow_0o0l113" sourceRef="Event_InterruptBoundary" targetRef="Event_0j702hl" />
|
|
<bpmn:sequenceFlow id="Flow_093roev" sourceRef="Activity_1m4766l" targetRef="Event_0j702hl" />
|
|
<bpmn:endEvent id="Event_0j702hl">
|
|
<bpmn:incoming>Flow_0o0l113</bpmn:incoming>
|
|
<bpmn:incoming>Flow_093roev</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:subProcess id="Activity_1m4766l">
|
|
<bpmn:incoming>Flow_1gd7a2h</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_093roev</bpmn:outgoing>
|
|
<bpmn:startEvent id="Event_0akpdke">
|
|
<bpmn:outgoing>Flow_1gs89vo</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:manualTask id="Activity_106f08z" name="Do Work">
|
|
<bpmn:incoming>Flow_1gs89vo</bpmn:incoming>
|
|
<bpmn:incoming>Flow_0wuxluk</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_11u0pgk</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:sequenceFlow id="Flow_11u0pgk" sourceRef="Activity_106f08z" targetRef="Event_0aqmn5y" />
|
|
<bpmn:intermediateCatchEvent id="Event_0aqmn5y" name="Take Break">
|
|
<bpmn:incoming>Flow_11u0pgk</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1rqk2v9</bpmn:outgoing>
|
|
<bpmn:timerEventDefinition id="TimerEventDefinition_0bct7zl">
|
|
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(seconds=.01)</bpmn:timeDuration>
|
|
</bpmn:timerEventDefinition>
|
|
</bpmn:intermediateCatchEvent>
|
|
<bpmn:sequenceFlow id="Flow_1gs89vo" sourceRef="Event_0akpdke" targetRef="Activity_106f08z" />
|
|
<bpmn:exclusiveGateway id="Gateway_0u34qof" default="Flow_0wuxluk">
|
|
<bpmn:incoming>Flow_1rqk2v9</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_18d90uu</bpmn:outgoing>
|
|
<bpmn:outgoing>Flow_0wuxluk</bpmn:outgoing>
|
|
</bpmn:exclusiveGateway>
|
|
<bpmn:endEvent id="Event_0pjkpp2">
|
|
<bpmn:incoming>Flow_18d90uu</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_18d90uu" name="Will never happen!" sourceRef="Gateway_0u34qof" targetRef="Event_0pjkpp2">
|
|
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">False</bpmn:conditionExpression>
|
|
</bpmn:sequenceFlow>
|
|
<bpmn:sequenceFlow id="Flow_1rqk2v9" sourceRef="Event_0aqmn5y" targetRef="Gateway_0u34qof" />
|
|
<bpmn:sequenceFlow id="Flow_0wuxluk" name="Get Back to work" sourceRef="Gateway_0u34qof" targetRef="Activity_106f08z" />
|
|
</bpmn:subProcess>
|
|
<bpmn:boundaryEvent id="Event_InterruptBoundary" name="StopIt!" attachedToRef="Activity_1m4766l">
|
|
<bpmn:outgoing>Flow_0o0l113</bpmn:outgoing>
|
|
<bpmn:messageEventDefinition id="MessageEventDefinition_0ext29q" messageRef="Message_0vb4lj2" />
|
|
</bpmn:boundaryEvent>
|
|
</bpmn:process>
|
|
<bpmn:message id="Message_0vb4lj2" name="Message_Interrupt" />
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0fh00ao">
|
|
<bpmndi:BPMNShape id="Participant_1p8gtyd_di" bpmnElement="Participant_1p8gtyd" isHorizontal="true">
|
|
<dc:Bounds x="190" y="70" width="978" height="638" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Lane_0rpib5y_di" bpmnElement="Lane_0rpib5y" isHorizontal="true">
|
|
<dc:Bounds x="220" y="70" width="948" height="202" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Lane_0gfw5kf_di" bpmnElement="Lane_0gfw5kf" isHorizontal="true">
|
|
<dc:Bounds x="220" y="272" width="948" height="436" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0d3xq5q_di" bpmnElement="Event_0d3xq5q">
|
|
<dc:Bounds x="292" y="152" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_0bvln2b_di" bpmnElement="Flow_0bvln2b">
|
|
<di:waypoint x="328" y="170" />
|
|
<di:waypoint x="380" y="170" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Activity_1ugbw2a_di" bpmnElement="Activity_Interrupt">
|
|
<dc:Bounds x="380" y="130" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_0ncff13_di" bpmnElement="Gateway_0ncff13" isMarkerVisible="true">
|
|
<dc:Bounds x="535" y="145" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_1ya6ran_di" bpmnElement="Flow_1ya6ran">
|
|
<di:waypoint x="480" y="170" />
|
|
<di:waypoint x="535" y="170" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0saykw5_di" bpmnElement="Flow_0saykw5">
|
|
<di:waypoint x="585" y="170" />
|
|
<di:waypoint x="642" y="170" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="604" y="152" width="19" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Event_15z0u0c_di" bpmnElement="Event_0g8w85g">
|
|
<dc:Bounds x="642" y="152" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="625" y="195" width="70" height="27" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0l8sadb_di" bpmnElement="Event_0l8sadb">
|
|
<dc:Bounds x="742" y="152" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_0lekhj5_di" bpmnElement="Flow_0lekhj5">
|
|
<di:waypoint x="678" y="170" />
|
|
<di:waypoint x="742" y="170" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1t2ocwk_di" bpmnElement="Flow_1t2ocwk">
|
|
<di:waypoint x="560" y="195" />
|
|
<di:waypoint x="560" y="250" />
|
|
<di:waypoint x="430" y="250" />
|
|
<di:waypoint x="430" y="210" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="488" y="232" width="15" height="40" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Event_12moz8m_di" bpmnElement="Event_12moz8m">
|
|
<dc:Bounds x="292" y="412" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1m4766l_di" bpmnElement="Activity_1m4766l" isExpanded="true">
|
|
<dc:Bounds x="350" y="360" width="590" height="200" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0akpdke_di" bpmnElement="Event_0akpdke">
|
|
<dc:Bounds x="390" y="442" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_1gd7a2h_di" bpmnElement="Flow_1gd7a2h">
|
|
<di:waypoint x="328" y="430" />
|
|
<di:waypoint x="339" y="430" />
|
|
<di:waypoint x="339" y="460" />
|
|
<di:waypoint x="350" y="460" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Event_0ib6pbh_di" bpmnElement="Event_InterruptBoundary">
|
|
<dc:Bounds x="779" y="542" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="782" y="585" width="32" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0j702hl_di" bpmnElement="Event_0j702hl">
|
|
<dc:Bounds x="1032" y="442" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_0o0l113_di" bpmnElement="Flow_0o0l113">
|
|
<di:waypoint x="797" y="578" />
|
|
<di:waypoint x="797" y="630" />
|
|
<di:waypoint x="1050" y="630" />
|
|
<di:waypoint x="1050" y="478" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_093roev_di" bpmnElement="Flow_093roev">
|
|
<di:waypoint x="645" y="360" />
|
|
<di:waypoint x="645" y="310" />
|
|
<di:waypoint x="1050" y="310" />
|
|
<di:waypoint x="1050" y="442" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Activity_1s4pw7g_di" bpmnElement="Activity_106f08z">
|
|
<dc:Bounds x="475" y="420" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_11u0pgk_di" bpmnElement="Flow_11u0pgk">
|
|
<di:waypoint x="575" y="460" />
|
|
<di:waypoint x="627" y="460" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Event_0ulu4mx_di" bpmnElement="Event_0aqmn5y">
|
|
<dc:Bounds x="627" y="442" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="618" y="412" width="56" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_1gs89vo_di" bpmnElement="Flow_1gs89vo">
|
|
<di:waypoint x="426" y="460" />
|
|
<di:waypoint x="475" y="460" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Gateway_0u34qof_di" bpmnElement="Gateway_0u34qof" isMarkerVisible="true">
|
|
<dc:Bounds x="695" y="435" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0pjkpp2_di" bpmnElement="Event_0pjkpp2">
|
|
<dc:Bounds x="802" y="442" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_18d90uu_di" bpmnElement="Flow_18d90uu">
|
|
<di:waypoint x="745" y="460" />
|
|
<di:waypoint x="802" y="460" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="750" y="442" width="49" height="27" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1rqk2v9_di" bpmnElement="Flow_1rqk2v9">
|
|
<di:waypoint x="663" y="460" />
|
|
<di:waypoint x="695" y="460" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0wuxluk_di" bpmnElement="Flow_0wuxluk">
|
|
<di:waypoint x="720" y="485" />
|
|
<di:waypoint x="720" y="540" />
|
|
<di:waypoint x="525" y="540" />
|
|
<di:waypoint x="525" y="500" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="580" y="522" width="85" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|