demo-process-models/playground/nutech/exclusive-gateway-1/exclusive_gw_1.bpmn

136 lines
7.0 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="Process_q4lu9oo" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0qm7iqu</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0qm7iqu" sourceRef="StartEvent_1" targetRef="Activity_1jei1wt" />
<bpmn:exclusiveGateway id="Gateway_1w3xvxf">
<bpmn:incoming>Flow_0qeqp1o</bpmn:incoming>
<bpmn:outgoing>Flow_1egzw43</bpmn:outgoing>
<bpmn:outgoing>Flow_1jwn1tk</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0qeqp1o" sourceRef="Activity_1jei1wt" targetRef="Gateway_1w3xvxf" />
<bpmn:sequenceFlow id="Flow_1egzw43" name="Others" sourceRef="Gateway_1w3xvxf" targetRef="Activity_1nmelia">
<bpmn:conditionExpression>firstName != "Chuck"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:manualTask id="Activity_1nmelia" name="Hello to others">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Hello {{firstName}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1egzw43</bpmn:incoming>
<bpmn:outgoing>Flow_14y8s4v</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_1jwn1tk" name="Chuck" sourceRef="Gateway_1w3xvxf" targetRef="Activity_0uptjz5">
<bpmn:conditionExpression>firstName=="Chuck"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_1llareg">
<bpmn:incoming>Flow_14y8s4v</bpmn:incoming>
<bpmn:incoming>Flow_0j8sz6t</bpmn:incoming>
<bpmn:outgoing>Flow_15a8yo2</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_14y8s4v" sourceRef="Activity_1nmelia" targetRef="Gateway_1llareg" />
<bpmn:sequenceFlow id="Flow_0j8sz6t" sourceRef="Activity_0uptjz5" targetRef="Gateway_1llareg" />
<bpmn:sequenceFlow id="Flow_15a8yo2" sourceRef="Gateway_1llareg" targetRef="Activity_1ktmw44" />
<bpmn:manualTask id="Activity_0uptjz5" name="Hi to Chuck">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Hi {{firstName}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1jwn1tk</bpmn:incoming>
<bpmn:outgoing>Flow_0j8sz6t</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:manualTask id="Activity_1ktmw44" name="Show end message">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Thanks everyone</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_15a8yo2</bpmn:incoming>
<bpmn:outgoing>Flow_1u2bnfk</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:endEvent id="Event_0ykyjnt">
<bpmn:incoming>Flow_1u2bnfk</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1u2bnfk" sourceRef="Activity_1ktmw44" targetRef="Event_0ykyjnt" />
<bpmn:userTask id="Activity_1jei1wt" name="Show User Form">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="issue-form-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="issue-form-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0qm7iqu</bpmn:incoming>
<bpmn:outgoing>Flow_0qeqp1o</bpmn:outgoing>
</bpmn:userTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_q4lu9oo">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-198" y="-8" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1w3xvxf_di" bpmnElement="Gateway_1w3xvxf" isMarkerVisible="true">
<dc:Bounds x="45" y="-15" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0qojmqa_di" bpmnElement="Activity_1nmelia">
<dc:Bounds x="150" y="-30" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1llareg_di" bpmnElement="Gateway_1llareg" isMarkerVisible="true">
<dc:Bounds x="305" y="-15" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1rjg9r2_di" bpmnElement="Activity_0uptjz5">
<dc:Bounds x="150" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1bs4lxs_di" bpmnElement="Activity_1ktmw44">
<dc:Bounds x="410" y="-30" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0ykyjnt_di" bpmnElement="Event_0ykyjnt">
<dc:Bounds x="572" y="-8" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1g632j5_di" bpmnElement="Activity_1jei1wt">
<dc:Bounds x="-110" y="-30" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0qm7iqu_di" bpmnElement="Flow_0qm7iqu">
<di:waypoint x="-162" y="10" />
<di:waypoint x="-110" y="10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0qeqp1o_di" bpmnElement="Flow_0qeqp1o">
<di:waypoint x="-10" y="10" />
<di:waypoint x="45" y="10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1egzw43_di" bpmnElement="Flow_1egzw43">
<di:waypoint x="95" y="10" />
<di:waypoint x="150" y="10" />
<bpmndi:BPMNLabel>
<dc:Bounds x="106" y="-8" width="34" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1jwn1tk_di" bpmnElement="Flow_1jwn1tk">
<di:waypoint x="70" y="35" />
<di:waypoint x="70" y="120" />
<di:waypoint x="150" y="120" />
<bpmndi:BPMNLabel>
<dc:Bounds x="54" y="75" width="32" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14y8s4v_di" bpmnElement="Flow_14y8s4v">
<di:waypoint x="250" y="10" />
<di:waypoint x="305" y="10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0j8sz6t_di" bpmnElement="Flow_0j8sz6t">
<di:waypoint x="250" y="120" />
<di:waypoint x="330" y="120" />
<di:waypoint x="330" y="35" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_15a8yo2_di" bpmnElement="Flow_15a8yo2">
<di:waypoint x="355" y="10" />
<di:waypoint x="410" y="10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1u2bnfk_di" bpmnElement="Flow_1u2bnfk">
<di:waypoint x="510" y="10" />
<di:waypoint x="572" y="10" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>