mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
150 lines
8.3 KiB
Plaintext
150 lines
8.3 KiB
Plaintext
|
<?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="Process_unit_test_expanded_sub_process_with_escalation_intermediate_throw_event_cp8nk8c" isExecutable="true">
|
||
|
<bpmn:startEvent id="StartEvent_1">
|
||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||
|
</bpmn:startEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0qpzdpu" />
|
||
|
<bpmn:endEvent id="EndEvent_1">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:instructionsForEndUser>End.</spiffworkflow:instructionsForEndUser>
|
||
|
</bpmn:extensionElements>
|
||
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="EndEvent_1" />
|
||
|
<bpmn:subProcess id="Activity_0qpzdpu" name="Expanded Sub Process with Escalation Intermediate Throw Event ">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:instructionsForEndUser>This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a:
|
||
|
|
||
|
* **Script Task** - write a short snippet of python code to update some data
|
||
|
* **User Task** - generate a form that collects information from a user
|
||
|
* **Service Task** - communicate with an external API to fetch or update some data.
|
||
|
|
||
|
You can also change the text you are reading here by updating the *Instructions* on this example manual task.</spiffworkflow:instructionsForEndUser>
|
||
|
</bpmn:extensionElements>
|
||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||
|
<bpmn:startEvent id="Event_073yy6j">
|
||
|
<bpmn:outgoing>Flow_0w0x3o5</bpmn:outgoing>
|
||
|
</bpmn:startEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_0w0x3o5" sourceRef="Event_073yy6j" targetRef="Activity_08s9n3g" />
|
||
|
<bpmn:manualTask id="Activity_08s9n3g" name="Manual Task 1">
|
||
|
<bpmn:incoming>Flow_0w0x3o5</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_1kjddqb</bpmn:outgoing>
|
||
|
</bpmn:manualTask>
|
||
|
<bpmn:sequenceFlow id="Flow_1kjddqb" sourceRef="Activity_08s9n3g" targetRef="Event_11wce8j" />
|
||
|
<bpmn:intermediateThrowEvent id="Event_11wce8j">
|
||
|
<bpmn:incoming>Flow_1kjddqb</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_1p7wjz7</bpmn:outgoing>
|
||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_1dk5c0y" escalationRef="Escalation1" />
|
||
|
</bpmn:intermediateThrowEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_1p7wjz7" sourceRef="Event_11wce8j" targetRef="Activity_1bxlgjs" />
|
||
|
<bpmn:manualTask id="Activity_1bxlgjs" name="Manual Task 2">
|
||
|
<bpmn:incoming>Flow_1p7wjz7</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_1gtwtm2</bpmn:outgoing>
|
||
|
</bpmn:manualTask>
|
||
|
<bpmn:endEvent id="Event_1pki024">
|
||
|
<bpmn:incoming>Flow_1gtwtm2</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_1gtwtm2" sourceRef="Activity_1bxlgjs" targetRef="Event_1pki024" />
|
||
|
</bpmn:subProcess>
|
||
|
<bpmn:boundaryEvent id="Event_1yrobkj" attachedToRef="Activity_0qpzdpu">
|
||
|
<bpmn:outgoing>Flow_0p20gin</bpmn:outgoing>
|
||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_1xs7x9p" escalationRef="Escalation1" />
|
||
|
</bpmn:boundaryEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_0p20gin" sourceRef="Event_1yrobkj" targetRef="Activity_1t7ers1" />
|
||
|
<bpmn:endEvent id="Event_12ttlx5">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Expanded Sub Process with Escalation Intermediate Throw Event. Escalationn Occured.</spiffworkflow:instructionsForEndUser>
|
||
|
</bpmn:extensionElements>
|
||
|
<bpmn:incoming>Flow_0xy1gef</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_0xy1gef" sourceRef="Activity_1t7ers1" targetRef="Event_12ttlx5" />
|
||
|
<bpmn:manualTask id="Activity_1t7ers1" name="Escalated">
|
||
|
<bpmn:incoming>Flow_0p20gin</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_0xy1gef</bpmn:outgoing>
|
||
|
</bpmn:manualTask>
|
||
|
</bpmn:process>
|
||
|
<bpmn:escalation id="Escalation1" name="Escalation1" escalationCode="ESC">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:variableName>msg</spiffworkflow:variableName>
|
||
|
<spiffworkflow:payloadExpression>{
|
||
|
"msg":"Escalation Thrown"
|
||
|
}</spiffworkflow:payloadExpression>
|
||
|
</bpmn:extensionElements>
|
||
|
</bpmn:escalation>
|
||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_unit_test_expanded_sub_process_with_escalation_intermediate_throw_event_cp8nk8c">
|
||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||
|
<dc:Bounds x="12" y="159" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Event_12ttlx5_di" bpmnElement="Event_12ttlx5">
|
||
|
<dc:Bounds x="712" y="412" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_0g0lif9_di" bpmnElement="Activity_1t7ers1">
|
||
|
<dc:Bounds x="560" y="390" width="100" height="80" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||
|
<dc:Bounds x="782" y="159" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_01s55wf_di" bpmnElement="Activity_0qpzdpu" isExpanded="true">
|
||
|
<dc:Bounds x="85" y="10" width="625" height="340" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Event_073yy6j_di" bpmnElement="Event_073yy6j">
|
||
|
<dc:Bounds x="125.33333333333334" y="162" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_1ju6qt1_di" bpmnElement="Activity_08s9n3g">
|
||
|
<dc:Bounds x="220" y="140" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Event_1hpmufq_di" bpmnElement="Event_11wce8j">
|
||
|
<dc:Bounds x="382" y="162" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_1vhwp5u_di" bpmnElement="Activity_1bxlgjs">
|
||
|
<dc:Bounds x="480" y="140" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Event_1pki024_di" bpmnElement="Event_1pki024">
|
||
|
<dc:Bounds x="642" y="162" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge id="Flow_0w0x3o5_di" bpmnElement="Flow_0w0x3o5">
|
||
|
<di:waypoint x="161" y="180" />
|
||
|
<di:waypoint x="220" y="180" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_1kjddqb_di" bpmnElement="Flow_1kjddqb">
|
||
|
<di:waypoint x="320" y="180" />
|
||
|
<di:waypoint x="382" y="180" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_1p7wjz7_di" bpmnElement="Flow_1p7wjz7">
|
||
|
<di:waypoint x="418" y="180" />
|
||
|
<di:waypoint x="480" y="180" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_1gtwtm2_di" bpmnElement="Flow_1gtwtm2">
|
||
|
<di:waypoint x="580" y="180" />
|
||
|
<di:waypoint x="642" y="180" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNShape id="Event_17df7mq_di" bpmnElement="Event_1yrobkj">
|
||
|
<dc:Bounds x="472" y="332" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||
|
<di:waypoint x="48" y="177" />
|
||
|
<di:waypoint x="85" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||
|
<di:waypoint x="710" y="177" />
|
||
|
<di:waypoint x="782" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_0p20gin_di" bpmnElement="Flow_0p20gin">
|
||
|
<di:waypoint x="490" y="368" />
|
||
|
<di:waypoint x="490" y="430" />
|
||
|
<di:waypoint x="560" y="430" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_0xy1gef_di" bpmnElement="Flow_0xy1gef">
|
||
|
<di:waypoint x="660" y="430" />
|
||
|
<di:waypoint x="712" y="430" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
</bpmndi:BPMNPlane>
|
||
|
</bpmndi:BPMNDiagram>
|
||
|
</bpmn:definitions>
|