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
145 lines
7.1 KiB
XML
145 lines
7.1 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_1nsvcwb" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.0">
|
|
<bpmn:process id="token" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
<bpmn:outgoing>Flow_03vnrmv</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:exclusiveGateway id="Gateway_1w9u16f">
|
|
<bpmn:incoming>Flow_0g2wjhu</bpmn:incoming>
|
|
<bpmn:incoming>Flow_0ya87hl</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1qgke9w</bpmn:outgoing>
|
|
</bpmn:exclusiveGateway>
|
|
<bpmn:userTask id="First" name="First" camunda:formKey="GWForm">
|
|
<bpmn:documentation>Do you want to do the next steps?</bpmn:documentation>
|
|
<bpmn:extensionElements>
|
|
<camunda:formData>
|
|
<camunda:formField id="do_step" label="Do Steps?" type="boolean" />
|
|
</camunda:formData>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_03vnrmv</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_13qpm6f</bpmn:outgoing>
|
|
</bpmn:userTask>
|
|
<bpmn:sequenceFlow id="Flow_13qpm6f" sourceRef="First" targetRef="Gateway_0yirqzr" />
|
|
<bpmn:exclusiveGateway id="Gateway_0yirqzr">
|
|
<bpmn:incoming>Flow_13qpm6f</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_04bpvfu</bpmn:outgoing>
|
|
<bpmn:outgoing>Flow_0g2wjhu</bpmn:outgoing>
|
|
</bpmn:exclusiveGateway>
|
|
<bpmn:sequenceFlow id="Flow_04bpvfu" name="Yes" sourceRef="Gateway_0yirqzr" targetRef="FormA">
|
|
<bpmn:documentation>Yes
|
|
|
|
</bpmn:documentation>
|
|
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">do_step == True</bpmn:conditionExpression>
|
|
</bpmn:sequenceFlow>
|
|
<bpmn:sequenceFlow id="Flow_0g2wjhu" name="No" sourceRef="Gateway_0yirqzr" targetRef="Gateway_1w9u16f">
|
|
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">do_step== False</bpmn:conditionExpression>
|
|
</bpmn:sequenceFlow>
|
|
<bpmn:sequenceFlow id="Flow_1qgke9w" sourceRef="Gateway_1w9u16f" targetRef="FormC" />
|
|
<bpmn:sequenceFlow id="Flow_0ya87hl" sourceRef="FormB" targetRef="Gateway_1w9u16f" />
|
|
<bpmn:sequenceFlow id="Flow_0ahlz50" sourceRef="FormA" targetRef="FormB" />
|
|
<bpmn:userTask id="FormA" name="FormA" camunda:formKey="FormA">
|
|
<bpmn:documentation>FormA</bpmn:documentation>
|
|
<bpmn:extensionElements>
|
|
<camunda:formData>
|
|
<camunda:formField id="A" label="Enter Input for A" type="string" />
|
|
</camunda:formData>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_04bpvfu</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0ahlz50</bpmn:outgoing>
|
|
</bpmn:userTask>
|
|
<bpmn:userTask id="FormB" name="FormB" camunda:formKey="FormB">
|
|
<bpmn:documentation>FormB</bpmn:documentation>
|
|
<bpmn:extensionElements>
|
|
<camunda:formData>
|
|
<camunda:formField id="B" label="Enter Value for B" type="string" />
|
|
</camunda:formData>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0ahlz50</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0ya87hl</bpmn:outgoing>
|
|
</bpmn:userTask>
|
|
<bpmn:userTask id="FormC" name="FormC" camunda:formKey="FormC">
|
|
<bpmn:documentation>FormC</bpmn:documentation>
|
|
<bpmn:extensionElements>
|
|
<camunda:formData>
|
|
<camunda:formField id="C" label="Enter Value For C" />
|
|
</camunda:formData>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_1qgke9w</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_039y4lk</bpmn:outgoing>
|
|
</bpmn:userTask>
|
|
<bpmn:sequenceFlow id="Flow_03vnrmv" sourceRef="StartEvent_1" targetRef="First" />
|
|
<bpmn:endEvent id="Event_0xfwzm8">
|
|
<bpmn:incoming>Flow_039y4lk</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_039y4lk" sourceRef="FormC" targetRef="Event_0xfwzm8" />
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="token">
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="179" y="99" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_1w9u16f_di" bpmnElement="Gateway_1w9u16f" isMarkerVisible="true">
|
|
<dc:Bounds x="1015" y="92" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1oyfku7_di" bpmnElement="First">
|
|
<dc:Bounds x="270" y="77" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_13qpm6f_di" bpmnElement="Flow_13qpm6f">
|
|
<di:waypoint x="370" y="117" />
|
|
<di:waypoint x="465" y="117" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Gateway_0nr9vpb_di" bpmnElement="Gateway_0yirqzr" isMarkerVisible="true">
|
|
<dc:Bounds x="465" y="92" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_04bpvfu_di" bpmnElement="Flow_04bpvfu">
|
|
<di:waypoint x="515" y="117" />
|
|
<di:waypoint x="610" y="117" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="553" y="99" width="19" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0g2wjhu_di" bpmnElement="Flow_0g2wjhu">
|
|
<di:waypoint x="490" y="142" />
|
|
<di:waypoint x="490" y="340" />
|
|
<di:waypoint x="1040" y="340" />
|
|
<di:waypoint x="1040" y="142" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="758" y="322" width="15" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1qgke9w_di" bpmnElement="Flow_1qgke9w">
|
|
<di:waypoint x="1065" y="117" />
|
|
<di:waypoint x="1140" y="117" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0ya87hl_di" bpmnElement="Flow_0ya87hl">
|
|
<di:waypoint x="940" y="117" />
|
|
<di:waypoint x="1015" y="117" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0ahlz50_di" bpmnElement="Flow_0ahlz50">
|
|
<di:waypoint x="710" y="117" />
|
|
<di:waypoint x="840" y="117" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Activity_18dz45e_di" bpmnElement="FormA">
|
|
<dc:Bounds x="610" y="77" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0uaiu8h_di" bpmnElement="FormB">
|
|
<dc:Bounds x="840" y="77" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1byzp7w_di" bpmnElement="FormC">
|
|
<dc:Bounds x="1140" y="77" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_03vnrmv_di" bpmnElement="Flow_03vnrmv">
|
|
<di:waypoint x="215" y="117" />
|
|
<di:waypoint x="270" y="117" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Event_0xfwzm8_di" bpmnElement="Event_0xfwzm8">
|
|
<dc:Bounds x="1322" y="99" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_039y4lk_di" bpmnElement="Flow_039y4lk">
|
|
<di:waypoint x="1240" y="117" />
|
|
<di:waypoint x="1322" y="117" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|