mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 06:05:13 +00:00
80 lines
4.3 KiB
Plaintext
80 lines
4.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_task_with_guest_form_k1j13mh" isExecutable="true">
|
||
|
<bpmn:startEvent id="StartEvent_1">
|
||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||
|
</bpmn:startEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="get_url" />
|
||
|
<bpmn:endEvent id="EndEvent_1">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:instructionsForEndUser>The process instance completed successfully.</spiffworkflow:instructionsForEndUser>
|
||
|
</bpmn:extensionElements>
|
||
|
<bpmn:incoming>Flow_0yasy1i</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="guest_task_one" targetRef="guest_task_two" />
|
||
|
<bpmn:manualTask id="guest_task_one" name="Guest task one">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:instructionsForEndUser>This is the guest task.</spiffworkflow:instructionsForEndUser>
|
||
|
<spiffworkflow:allowGuest>true</spiffworkflow:allowGuest>
|
||
|
</bpmn:extensionElements>
|
||
|
<bpmn:incoming>Flow_0bg6b64</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||
|
</bpmn:manualTask>
|
||
|
<bpmn:sequenceFlow id="Flow_0yasy1i" sourceRef="guest_task_two" targetRef="EndEvent_1" />
|
||
|
<bpmn:manualTask id="guest_task_two" name="Guest task two">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:instructionsForEndUser>### The second guest task</spiffworkflow:instructionsForEndUser>
|
||
|
<spiffworkflow:allowGuest>true</spiffworkflow:allowGuest>
|
||
|
<spiffworkflow:guestConfirmation>## DONE
|
||
|
|
||
|
You are done. Yay!</spiffworkflow:guestConfirmation>
|
||
|
</bpmn:extensionElements>
|
||
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_0yasy1i</bpmn:outgoing>
|
||
|
</bpmn:manualTask>
|
||
|
<bpmn:sequenceFlow id="Flow_0bg6b64" sourceRef="get_url" targetRef="guest_task_one" />
|
||
|
<bpmn:scriptTask id="get_url" name="Get url">
|
||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_0bg6b64</bpmn:outgoing>
|
||
|
<bpmn:script>first_task_url = get_url_for_task_with_bpmn_identifier('guest_task_one')</bpmn:script>
|
||
|
</bpmn:scriptTask>
|
||
|
</bpmn:process>
|
||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_task_with_guest_form_k1j13mh">
|
||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||
|
<dc:Bounds x="582" y="159" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="guest_task_one">
|
||
|
<dc:Bounds x="220" y="137" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_12r5gf5_di" bpmnElement="guest_task_two">
|
||
|
<dc:Bounds x="410" y="137" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||
|
<dc:Bounds x="32" y="159" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_16wnl9x_di" bpmnElement="get_url">
|
||
|
<dc:Bounds x="90" y="137" width="100" height="80" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||
|
<di:waypoint x="68" y="177" />
|
||
|
<di:waypoint x="90" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||
|
<di:waypoint x="320" y="177" />
|
||
|
<di:waypoint x="410" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_0yasy1i_di" bpmnElement="Flow_0yasy1i">
|
||
|
<di:waypoint x="510" y="177" />
|
||
|
<di:waypoint x="582" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_0bg6b64_di" bpmnElement="Flow_0bg6b64">
|
||
|
<di:waypoint x="190" y="177" />
|
||
|
<di:waypoint x="220" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
</bpmndi:BPMNPlane>
|
||
|
</bpmndi:BPMNDiagram>
|
||
|
</bpmn:definitions>
|