User: dinithijonline@gmail.com clicked save for playground/dinithi/test-lanes/PettyCashRequest.bpmn

This commit is contained in:
sartography-automated-committer 2023-09-13 00:11:05 +00:00
parent 2c81ce1138
commit 69030cc639
2 changed files with 77 additions and 35 deletions

View File

@ -1,21 +1,24 @@
<?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:collaboration id="Collaboration_1816wll">
<bpmn:participant id="Participant_0i6egvt" processRef="Process_ajwtwxv" />
<bpmn:participant id="Participant_0wq5h8c" processRef="Process_0r0k74n" />
</bpmn:collaboration>
<bpmn:process id="Process_ajwtwxv" isExecutable="true">
<bpmn:laneSet id="LaneSet_1u649qy">
<bpmn:lane id="Lane_0uucw16">
<bpmn:process id="Process_0r0k74n">
<bpmn:laneSet id="LaneSet_0d2l7o5">
<bpmn:lane id="Lane_1nnbdvi" name="Cashier">
<bpmn:flowNodeRef>Activity_0n95rn3</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_1b1rc92">
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0fccmvy</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0dnj0hz</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1t2lac8</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1pureqy</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1g7pkvp</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0k8z2d5</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0k8z2d5" sourceRef="StartEvent_1" targetRef="Activity_0fccmvy" />
<bpmn:userTask id="Activity_0fccmvy" name="Petty Cash Request">
<bpmn:extensionElements>
<spiffworkflow:properties>
@ -25,52 +28,91 @@
<bpmn:incoming>Flow_0k8z2d5</bpmn:incoming>
<bpmn:outgoing>Flow_0usmyja</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_0dnj0hz">
<bpmn:incoming>Flow_12uil0s</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0usmyja" sourceRef="Activity_0fccmvy" targetRef="Activity_1t2lac8" />
<bpmn:scriptTask id="Activity_1t2lac8">
<bpmn:incoming>Flow_0usmyja</bpmn:incoming>
<bpmn:outgoing>Flow_12uil0s</bpmn:outgoing>
<bpmn:outgoing>Flow_0sjtrwc</bpmn:outgoing>
<bpmn:script>requested_by = get_current_user()['username']
lane_owners = { "Cashier": [get_current_user()['username']] } </bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_12uil0s" sourceRef="Activity_1t2lac8" targetRef="Event_0dnj0hz" />
<bpmn:sequenceFlow id="Flow_0k8z2d5" sourceRef="StartEvent_1" targetRef="Activity_0fccmvy" />
<bpmn:sequenceFlow id="Flow_0usmyja" sourceRef="Activity_0fccmvy" targetRef="Activity_1t2lac8" />
<bpmn:sequenceFlow id="Flow_0sjtrwc" sourceRef="Activity_1t2lac8" targetRef="Activity_0n95rn3" />
<bpmn:sequenceFlow id="Flow_0blso14" sourceRef="Activity_0n95rn3" targetRef="Activity_1g7pkvp" />
<bpmn:endEvent id="Event_1pureqy">
<bpmn:incoming>Flow_11dpyk6</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_11dpyk6" sourceRef="Activity_1g7pkvp" targetRef="Event_1pureqy" />
<bpmn:userTask id="Activity_0n95rn3">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="petty-cash-approval-schema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0sjtrwc</bpmn:incoming>
<bpmn:outgoing>Flow_0blso14</bpmn:outgoing>
</bpmn:userTask>
<bpmn:manualTask id="Activity_1g7pkvp">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>#### Your petty cash request for {{amount}} has been approved by {{approved_by}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0blso14</bpmn:incoming>
<bpmn:outgoing>Flow_11dpyk6</bpmn:outgoing>
</bpmn:manualTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1816wll">
<bpmndi:BPMNShape id="Participant_0i6egvt_di" bpmnElement="Participant_0i6egvt" isHorizontal="true">
<dc:Bounds x="-365" y="-35" width="695" height="250" />
<bpmndi:BPMNShape id="Participant_0wq5h8c_di" bpmnElement="Participant_0wq5h8c" isHorizontal="true">
<dc:Bounds x="-350" y="-320" width="878" height="250" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_0uucw16_di" bpmnElement="Lane_0uucw16" isHorizontal="true">
<dc:Bounds x="-335" y="-35" width="665" height="250" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-278" y="142" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1w8w6cc_di" bpmnElement="Activity_0fccmvy">
<dc:Bounds x="-190" y="120" width="100" height="80" />
<bpmndi:BPMNShape id="Lane_1nnbdvi_di" bpmnElement="Lane_1nnbdvi" isHorizontal="true">
<dc:Bounds x="-320" y="-320" width="848" height="125" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0dnj0hz_di" bpmnElement="Event_0dnj0hz">
<dc:Bounds x="272" y="132" width="36" height="36" />
<bpmndi:BPMNShape id="Lane_1b1rc92_di" bpmnElement="Lane_1b1rc92" isHorizontal="true">
<dc:Bounds x="-320" y="-195" width="848" height="125" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-308" y="-158" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1w8w6cc_di" bpmnElement="Activity_0fccmvy">
<dc:Bounds x="-220" y="-180" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0no38z8_di" bpmnElement="Activity_1t2lac8">
<dc:Bounds x="-30" y="120" width="100" height="80" />
<dc:Bounds x="-60" y="-180" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1pureqy_di" bpmnElement="Event_1pureqy">
<dc:Bounds x="392" y="-158" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_05ckc2z_di" bpmnElement="Activity_0n95rn3">
<dc:Bounds x="90" y="-300" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_19fagx7_di" bpmnElement="Activity_1g7pkvp">
<dc:Bounds x="240" y="-180" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0k8z2d5_di" bpmnElement="Flow_0k8z2d5">
<di:waypoint x="-242" y="160" />
<di:waypoint x="-190" y="160" />
<di:waypoint x="-272" y="-140" />
<di:waypoint x="-220" y="-140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0usmyja_di" bpmnElement="Flow_0usmyja">
<di:waypoint x="-90" y="160" />
<di:waypoint x="-30" y="160" />
<di:waypoint x="-120" y="-140" />
<di:waypoint x="-60" y="-140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12uil0s_di" bpmnElement="Flow_12uil0s">
<di:waypoint x="70" y="160" />
<di:waypoint x="171" y="160" />
<di:waypoint x="171" y="150" />
<di:waypoint x="272" y="150" />
<bpmndi:BPMNEdge id="Flow_0sjtrwc_di" bpmnElement="Flow_0sjtrwc">
<di:waypoint x="40" y="-140" />
<di:waypoint x="65" y="-140" />
<di:waypoint x="65" y="-260" />
<di:waypoint x="90" y="-260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0blso14_di" bpmnElement="Flow_0blso14">
<di:waypoint x="190" y="-260" />
<di:waypoint x="215" y="-260" />
<di:waypoint x="215" y="-140" />
<di:waypoint x="240" y="-140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_11dpyk6_di" bpmnElement="Flow_11dpyk6">
<di:waypoint x="340" y="-140" />
<di:waypoint x="392" y="-140" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>

View File

@ -5,5 +5,5 @@
"fault_or_suspend_on_exception": "fault",
"metadata_extraction_paths": null,
"primary_file_name": "PettyCashRequest.bpmn",
"primary_process_id": "Process_ajwtwxv"
"primary_process_id": "Process_0r0k74n"
}