mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
105 lines
5.8 KiB
XML
105 lines
5.8 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: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_test_model_1_qsn2xzd" 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_1ddd6al" />
|
|
<bpmn:endEvent id="EndEvent_1">
|
|
<bpmn:incoming>Flow_0eycgk2</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Activity_0qd9tz2" />
|
|
<bpmn:manualTask id="Activity_0qpzdpu" name="Manual task 1">
|
|
<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_0oh3wxx</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:sequenceFlow id="Flow_0oh3wxx" sourceRef="Activity_1ddd6al" targetRef="Activity_0qpzdpu" />
|
|
<bpmn:scriptTask id="Activity_1ddd6al" name="Script Task">
|
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0oh3wxx</bpmn:outgoing>
|
|
<bpmn:script>a = 5</bpmn:script>
|
|
</bpmn:scriptTask>
|
|
<bpmn:sequenceFlow id="Flow_114t4am" sourceRef="Activity_125j9jf" targetRef="Activity_1y2ggjh" />
|
|
<bpmn:manualTask id="Activity_125j9jf" name="Manual Task 2">
|
|
<bpmn:incoming>Flow_0b4vp1r</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_114t4am</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:sequenceFlow id="Flow_0eycgk2" sourceRef="Activity_1y2ggjh" targetRef="EndEvent_1" />
|
|
<bpmn:sequenceFlow id="Flow_0b4vp1r" sourceRef="Activity_0qd9tz2" targetRef="Activity_125j9jf" />
|
|
<bpmn:sendTask id="Activity_0qd9tz2" name="Send Task" messageRef="PrePostScriptMsg">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:messagePayload>{"name":"Tim", "age":40}</spiffworkflow:messagePayload>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0b4vp1r</bpmn:outgoing>
|
|
</bpmn:sendTask>
|
|
<bpmn:manualTask id="Activity_1y2ggjh" name="Manual task 3">
|
|
<bpmn:incoming>Flow_114t4am</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0eycgk2</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
</bpmn:process>
|
|
<bpmn:message id="PrePostScriptMsg" name="PrePostScriptMsg" />
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_test_model_1_qsn2xzd">
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="-58" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
|
<dc:Bounds x="1122" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
|
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1rf6wqu_di" bpmnElement="Activity_1ddd6al">
|
|
<dc:Bounds x="40" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0uks93n_di" bpmnElement="Activity_0qd9tz2">
|
|
<dc:Bounds x="480" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_18ajlfj_di" bpmnElement="Activity_1y2ggjh">
|
|
<dc:Bounds x="930" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1sjtrui_di" bpmnElement="Activity_125j9jf">
|
|
<dc:Bounds x="630" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
|
<di:waypoint x="-22" y="177" />
|
|
<di:waypoint x="40" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
|
<di:waypoint x="370" y="177" />
|
|
<di:waypoint x="480" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0oh3wxx_di" bpmnElement="Flow_0oh3wxx">
|
|
<di:waypoint x="140" y="177" />
|
|
<di:waypoint x="270" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_114t4am_di" bpmnElement="Flow_114t4am">
|
|
<di:waypoint x="730" y="177" />
|
|
<di:waypoint x="930" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0eycgk2_di" bpmnElement="Flow_0eycgk2">
|
|
<di:waypoint x="1030" y="177" />
|
|
<di:waypoint x="1122" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0b4vp1r_di" bpmnElement="Flow_0b4vp1r">
|
|
<di:waypoint x="580" y="177" />
|
|
<di:waypoint x="630" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|