mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-23 21:28:05 +00:00
User: admin@spiffworkflow.org added process model file bpmn-unit-tests/expected-to-pass/single-activity-tests/exclusive-gateway/exclusive_gateway.bpmn
This commit is contained in:
parent
c85fe4bc46
commit
0c4a3e5c6e
@ -0,0 +1,81 @@
|
||||
<?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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||
<bpmn:process id="Unit_Test_Exclusive_Gateway" name="Unit Test Exclusive Gateway" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0vnkhc5</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0vnkhc5" sourceRef="StartEvent_1" targetRef="Activity_11tnazj" />
|
||||
<bpmn:exclusiveGateway id="Gateway_04kw2o4" name="Exclusive Gateway">
|
||||
<bpmn:incoming>Flow_1vfbldw</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0ejbl6k</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_1hua65s</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_1vfbldw" sourceRef="Activity_11tnazj" targetRef="Gateway_04kw2o4" />
|
||||
<bpmn:endEvent id="Event_0767czo">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>End Exclusive Gateway Unit Test. Variable value greater or equal to 10.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0ejbl6k</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0ejbl6k" sourceRef="Gateway_04kw2o4" targetRef="Event_0767czo">
|
||||
<bpmn:conditionExpression>x >= 10</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:endEvent id="Event_08nh8ex">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>End Exclusive Gateway Unit Test. Variable value less than 10.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1hua65s</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1hua65s" sourceRef="Gateway_04kw2o4" targetRef="Event_08nh8ex">
|
||||
<bpmn:conditionExpression>x < 10</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:scriptTask id="Activity_11tnazj" name="Script Task">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser />
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0vnkhc5</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1vfbldw</bpmn:outgoing>
|
||||
<bpmn:script>x = 5</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Unit_Test_Exclusive_Gateway">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_04kw2o4_di" bpmnElement="Gateway_04kw2o4" isMarkerVisible="true">
|
||||
<dc:Bounds x="425" y="152" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="428" y="122" width="47" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0767czo_di" bpmnElement="Event_0767czo">
|
||||
<dc:Bounds x="532" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_08nh8ex_di" bpmnElement="Event_08nh8ex">
|
||||
<dc:Bounds x="532" y="272" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_07us4yo_di" bpmnElement="Activity_11tnazj">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0vnkhc5_di" bpmnElement="Flow_0vnkhc5">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1vfbldw_di" bpmnElement="Flow_1vfbldw">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="425" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0ejbl6k_di" bpmnElement="Flow_0ejbl6k">
|
||||
<di:waypoint x="475" y="177" />
|
||||
<di:waypoint x="532" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1hua65s_di" bpmnElement="Flow_1hua65s">
|
||||
<di:waypoint x="450" y="202" />
|
||||
<di:waypoint x="450" y="290" />
|
||||
<di:waypoint x="532" y="290" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
@ -6,6 +6,6 @@
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": null,
|
||||
"primary_process_id": null
|
||||
"primary_file_name": "exclusive_gateway.bpmn",
|
||||
"primary_process_id": "Unit_Test_Exclusive_Gateway"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user