224 lines
12 KiB
Plaintext
Raw Normal View History

<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Process_u1akxnt" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0tsnlov</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:serviceTask id="Activity_1t9wn35">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="http/GetRequest" resultVariable="response">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="url" type="str" value="&#34;http://example/1&#34;" />
<spiffworkflow:parameter id="headers" type="any" />
<spiffworkflow:parameter id="params" type="any" />
<spiffworkflow:parameter id="basic_auth_username" type="str" />
<spiffworkflow:parameter id="basic_auth_password" type="str" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_006aniu</bpmn:incoming>
<bpmn:outgoing>Flow_0maxq7h</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0tsnlov" sourceRef="StartEvent_1" targetRef="Gateway_1pb12cy" />
<bpmn:sequenceFlow id="Flow_006aniu" sourceRef="Gateway_1ntem3m" targetRef="Activity_1t9wn35" />
<bpmn:parallelGateway id="Gateway_1ntem3m">
<bpmn:incoming>Flow_17hd1ol</bpmn:incoming>
<bpmn:outgoing>Flow_006aniu</bpmn:outgoing>
<bpmn:outgoing>Flow_0qnaaj0</bpmn:outgoing>
<bpmn:outgoing>Flow_0fledz4</bpmn:outgoing>
<bpmn:outgoing>Flow_0q0sv07</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:serviceTask id="Activity_0cg3bgm">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="http/GetRequest" resultVariable="response2">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="url" type="str" value="&#34;http://example/2&#34;" />
<spiffworkflow:parameter id="headers" type="any" />
<spiffworkflow:parameter id="params" type="any" />
<spiffworkflow:parameter id="basic_auth_username" type="str" />
<spiffworkflow:parameter id="basic_auth_password" type="str" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0qnaaj0</bpmn:incoming>
<bpmn:outgoing>Flow_0u65uem</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0qnaaj0" sourceRef="Gateway_1ntem3m" targetRef="Activity_0cg3bgm" />
<bpmn:serviceTask id="Activity_1c6f83c">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="http/GetRequest" resultVariable="response3">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="url" type="str" value="&#34;http://example/3&#34;" />
<spiffworkflow:parameter id="headers" type="any" />
<spiffworkflow:parameter id="params" type="any" />
<spiffworkflow:parameter id="basic_auth_username" type="str" />
<spiffworkflow:parameter id="basic_auth_password" type="str" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0fledz4</bpmn:incoming>
<bpmn:outgoing>Flow_0k2h756</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0fledz4" sourceRef="Gateway_1ntem3m" targetRef="Activity_1c6f83c" />
<bpmn:serviceTask id="Activity_1q0ftl7">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="http/GetRequest" resultVariable="response4">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="url" type="str" value="&#34;http://example/4&#34;" />
<spiffworkflow:parameter id="headers" type="any" />
<spiffworkflow:parameter id="params" type="any" />
<spiffworkflow:parameter id="basic_auth_username" type="str" />
<spiffworkflow:parameter id="basic_auth_password" type="str" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0q0sv07</bpmn:incoming>
<bpmn:outgoing>Flow_13vzep9</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0q0sv07" sourceRef="Gateway_1ntem3m" targetRef="Activity_1q0ftl7" />
<bpmn:parallelGateway id="Gateway_02atous">
<bpmn:incoming>Flow_0maxq7h</bpmn:incoming>
<bpmn:incoming>Flow_0u65uem</bpmn:incoming>
<bpmn:incoming>Flow_0k2h756</bpmn:incoming>
<bpmn:incoming>Flow_13vzep9</bpmn:incoming>
<bpmn:outgoing>Flow_0tll5k7</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="Flow_0maxq7h" sourceRef="Activity_1t9wn35" targetRef="Gateway_02atous" />
<bpmn:sequenceFlow id="Flow_0u65uem" sourceRef="Activity_0cg3bgm" targetRef="Gateway_02atous" />
<bpmn:sequenceFlow id="Flow_0k2h756" sourceRef="Activity_1c6f83c" targetRef="Gateway_02atous" />
<bpmn:sequenceFlow id="Flow_13vzep9" sourceRef="Activity_1q0ftl7" targetRef="Gateway_02atous" />
<bpmn:userTask id="Activity_04gfjow" name="Final task">
<bpmn:extensionElements>
<spiffworkflow:preScript>print("hello world")</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0tll5k7</bpmn:incoming>
<bpmn:incoming>Flow_1q76oxp</bpmn:incoming>
<bpmn:outgoing>Flow_0hcd511</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0tll5k7" sourceRef="Gateway_02atous" targetRef="Activity_04gfjow" />
<bpmn:endEvent id="Event_03q0sme">
<bpmn:incoming>Flow_0hcd511</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0hcd511" sourceRef="Activity_04gfjow" targetRef="Event_03q0sme" />
<bpmn:sequenceFlow id="Flow_17hd1ol" sourceRef="Gateway_1pb12cy" targetRef="Gateway_1ntem3m" />
<bpmn:inclusiveGateway id="Gateway_1pb12cy">
<bpmn:incoming>Flow_0tsnlov</bpmn:incoming>
<bpmn:outgoing>Flow_17hd1ol</bpmn:outgoing>
<bpmn:outgoing>Flow_135za91</bpmn:outgoing>
</bpmn:inclusiveGateway>
<bpmn:intermediateCatchEvent id="Event_13e6eej">
<bpmn:incoming>Flow_135za91</bpmn:incoming>
<bpmn:outgoing>Flow_1q76oxp</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_1kosj4m">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">"PT5S"</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_135za91" sourceRef="Gateway_1pb12cy" targetRef="Event_13e6eej" />
<bpmn:sequenceFlow id="Flow_1q76oxp" sourceRef="Event_13e6eej" targetRef="Activity_04gfjow" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_u1akxnt">
<bpmndi:BPMNShape id="Activity_1ulfr7s_di" bpmnElement="Activity_1t9wn35">
<dc:Bounds x="480" y="30" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0069igl_di" bpmnElement="Gateway_1ntem3m">
<dc:Bounds x="285" y="215" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0xwxdkx" bpmnElement="Activity_0cg3bgm">
<dc:Bounds x="480" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0llabnr" bpmnElement="Activity_1c6f83c">
<dc:Bounds x="480" y="260" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1nrchgm" bpmnElement="Activity_1q0ftl7">
<dc:Bounds x="480" y="380" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0jcjb1h" bpmnElement="Gateway_02atous">
<dc:Bounds x="755" y="215" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_19ioqpr_di" bpmnElement="Activity_04gfjow">
<dc:Bounds x="860" y="200" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_03q0sme_di" bpmnElement="Event_03q0sme">
<dc:Bounds x="1022" y="222" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="32" y="222" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0193a8z_di" bpmnElement="Gateway_1pb12cy">
<dc:Bounds x="155" y="215" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0sapnv9_di" bpmnElement="Event_13e6eej">
<dc:Bounds x="162" y="342" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0tsnlov_di" bpmnElement="Flow_0tsnlov">
<di:waypoint x="68" y="240" />
<di:waypoint x="155" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_006aniu_di" bpmnElement="Flow_006aniu">
<di:waypoint x="310" y="215" />
<di:waypoint x="310" y="70" />
<di:waypoint x="480" y="70" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0qnaaj0_di" bpmnElement="Flow_0qnaaj0">
<di:waypoint x="310" y="215" />
<di:waypoint x="310" y="177" />
<di:waypoint x="480" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0fledz4_di" bpmnElement="Flow_0fledz4">
<di:waypoint x="310" y="265" />
<di:waypoint x="310" y="300" />
<di:waypoint x="480" y="300" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0q0sv07_di" bpmnElement="Flow_0q0sv07">
<di:waypoint x="310" y="265" />
<di:waypoint x="310" y="440" />
<di:waypoint x="480" y="440" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0maxq7h_di" bpmnElement="Flow_0maxq7h">
<di:waypoint x="580" y="70" />
<di:waypoint x="780" y="70" />
<di:waypoint x="780" y="215" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u65uem_di" bpmnElement="Flow_0u65uem">
<di:waypoint x="580" y="177" />
<di:waypoint x="780" y="177" />
<di:waypoint x="780" y="215" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0k2h756_di" bpmnElement="Flow_0k2h756">
<di:waypoint x="580" y="300" />
<di:waypoint x="780" y="300" />
<di:waypoint x="780" y="265" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_13vzep9_di" bpmnElement="Flow_13vzep9">
<di:waypoint x="580" y="420" />
<di:waypoint x="780" y="420" />
<di:waypoint x="780" y="265" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0tll5k7_di" bpmnElement="Flow_0tll5k7">
<di:waypoint x="805" y="240" />
<di:waypoint x="860" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0hcd511_di" bpmnElement="Flow_0hcd511">
<di:waypoint x="960" y="240" />
<di:waypoint x="1022" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_17hd1ol_di" bpmnElement="Flow_17hd1ol">
<di:waypoint x="205" y="240" />
<di:waypoint x="285" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_135za91_di" bpmnElement="Flow_135za91">
<di:waypoint x="180" y="265" />
<di:waypoint x="180" y="342" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1q76oxp_di" bpmnElement="Flow_1q76oxp">
<di:waypoint x="180" y="378" />
<di:waypoint x="180" y="550" />
<di:waypoint x="910" y="550" />
<di:waypoint x="910" y="280" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>