2024-02-28 06:12:39 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2024-02-28 06:21:08 +00:00
|
|
|
<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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
2024-02-28 06:12:39 +00:00
|
|
|
<bpmn:process id="Process_receipt_test_8lp243a" 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>The process instance completed successfully.</spiffworkflow:instructionsForEndUser>
|
|
|
|
</bpmn:extensionElements>
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmn:incoming>Flow_0yzbpyw</bpmn:incoming>
|
2024-02-28 06:12:39 +00:00
|
|
|
</bpmn:endEvent>
|
2024-02-28 07:02:03 +00:00
|
|
|
<bpmn:userTask id="Activity_0qpzdpu" name="Select Timer Value">
|
2024-02-28 06:12:39 +00:00
|
|
|
<bpmn:extensionElements>
|
2024-02-28 07:03:36 +00:00
|
|
|
<spiffworkflow:instructionsForEndUser># Select Timer Value
|
2024-02-28 06:12:39 +00:00
|
|
|
|
2024-02-28 07:03:36 +00:00
|
|
|
Select time it should take for store to reach SASD Gate area
|
2024-02-28 06:12:39 +00:00
|
|
|
|
2024-02-28 07:03:36 +00:00
|
|
|
A **time duration** defined as ISO 8601 durations format.
|
|
|
|
|
|
|
|
- PT15S - 15 seconds
|
|
|
|
- PT1H30M - 1 hour and 30 minutes
|
|
|
|
- P14D - 14 days</spiffworkflow:instructionsForEndUser>
|
2024-02-28 06:18:38 +00:00
|
|
|
<spiffworkflow:properties>
|
|
|
|
<spiffworkflow:property name="formJsonSchemaFilename" value="timertfc-schema.json" />
|
|
|
|
<spiffworkflow:property name="formUiSchemaFilename" value="timertfc-uischema.json" />
|
|
|
|
</spiffworkflow:properties>
|
2024-02-28 06:12:39 +00:00
|
|
|
</bpmn:extensionElements>
|
|
|
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmn:outgoing>Flow_01eub9l</bpmn:outgoing>
|
|
|
|
</bpmn:userTask>
|
2024-02-28 07:03:36 +00:00
|
|
|
<bpmn:scriptTask id="Activity_1gw1xg0" name="Script to convert timer value to string to display">
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmn:incoming>Flow_01eub9l</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_0y4at06</bpmn:outgoing>
|
2024-02-28 07:03:36 +00:00
|
|
|
<bpmn:script>hours = 0
|
2024-02-28 06:26:29 +00:00
|
|
|
minutes = 0
|
|
|
|
seconds = 0
|
|
|
|
|
2024-02-28 07:03:36 +00:00
|
|
|
if 'H' in timer_value_warehouse:
|
|
|
|
hours_str = timer_value_warehouse.split('H')[0][2:]
|
|
|
|
hours = int(hours_str) if hours_str.isdigit() else 0
|
|
|
|
|
|
|
|
if 'M' in timer_value_warehouse:
|
|
|
|
minutes_str = timer_value_warehouse.split('M')[0][-2:]
|
|
|
|
minutes = int(minutes_str) if minutes_str.isdigit() else 0
|
2024-02-28 06:26:29 +00:00
|
|
|
|
2024-02-28 07:03:36 +00:00
|
|
|
if 'S' in timer_value_warehouse:
|
|
|
|
seconds_str = timer_value_warehouse.split('S')[0][-2:]
|
|
|
|
seconds = int(seconds_str) if seconds_str.isdigit() else 0
|
2024-02-28 06:26:29 +00:00
|
|
|
|
2024-02-28 07:03:36 +00:00
|
|
|
</bpmn:script>
|
2024-02-28 06:18:38 +00:00
|
|
|
</bpmn:scriptTask>
|
|
|
|
<bpmn:sequenceFlow id="Flow_01eub9l" sourceRef="Activity_0qpzdpu" targetRef="Activity_1gw1xg0" />
|
2024-02-28 07:09:36 +00:00
|
|
|
<bpmn:userTask id="Activity_09w2eud" name="Receive equipment at SASD GATE">
|
2024-02-28 06:21:08 +00:00
|
|
|
<bpmn:extensionElements>
|
|
|
|
<spiffworkflow:properties>
|
|
|
|
<spiffworkflow:property name="formJsonSchemaFilename" value="receive-schema.json" />
|
|
|
|
<spiffworkflow:property name="formUiSchemaFilename" value="receive-uischema.json" />
|
|
|
|
</spiffworkflow:properties>
|
2024-02-28 07:09:36 +00:00
|
|
|
<spiffworkflow:instructionsForEndUser>Warehouse admin has approved the issuance of store; please approve the receipt of store at SASD Gate area
|
2024-02-28 07:02:03 +00:00
|
|
|
|
2024-02-28 07:09:36 +00:00
|
|
|
Timer value is : {{hours}} Hour, {{minutes}} Minutes , {{seconds}} Seconds
|
|
|
|
|
|
|
|
Equipment Received at SASD gate area:</spiffworkflow:instructionsForEndUser>
|
2024-02-28 06:21:08 +00:00
|
|
|
</bpmn:extensionElements>
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmn:incoming>Flow_0y4at06</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_0ukmyta</bpmn:outgoing>
|
|
|
|
</bpmn:userTask>
|
|
|
|
<bpmn:sequenceFlow id="Flow_0y4at06" sourceRef="Activity_1gw1xg0" targetRef="Activity_09w2eud" />
|
2024-02-28 07:09:36 +00:00
|
|
|
<bpmn:manualTask id="Activity_0zk4dmv" name="Equipment not received at SASD Gate Area">
|
2024-02-28 06:21:08 +00:00
|
|
|
<bpmn:extensionElements>
|
2024-02-28 07:09:36 +00:00
|
|
|
<spiffworkflow:instructionsForEndUser>Equipment didn't receive at SASD Gate Area
|
2024-02-28 06:21:08 +00:00
|
|
|
|
|
|
|
Equipment not received at SASD area</spiffworkflow:instructionsForEndUser>
|
|
|
|
</bpmn:extensionElements>
|
2024-02-28 07:09:36 +00:00
|
|
|
<bpmn:incoming>Flow_12k6zv8</bpmn:incoming>
|
|
|
|
<bpmn:incoming>Flow_1adlfht</bpmn:incoming>
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmn:outgoing>Flow_0yzbpyw</bpmn:outgoing>
|
2024-02-28 06:12:39 +00:00
|
|
|
</bpmn:manualTask>
|
2024-02-28 07:09:36 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_0ukmyta" sourceRef="Activity_09w2eud" targetRef="Gateway_04ehsl6" />
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_0yzbpyw" sourceRef="Activity_0zk4dmv" targetRef="EndEvent_1" />
|
2024-02-28 07:09:36 +00:00
|
|
|
<bpmn:boundaryEvent id="Event_0p58mhz" attachedToRef="Activity_09w2eud">
|
|
|
|
<bpmn:outgoing>Flow_1adlfht</bpmn:outgoing>
|
|
|
|
<bpmn:timerEventDefinition id="TimerEventDefinition_1r296ej">
|
|
|
|
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timer_value_warehouse</bpmn:timeDuration>
|
2024-02-28 07:02:03 +00:00
|
|
|
</bpmn:timerEventDefinition>
|
|
|
|
</bpmn:boundaryEvent>
|
2024-02-28 07:09:36 +00:00
|
|
|
<bpmn:exclusiveGateway id="Gateway_04ehsl6">
|
|
|
|
<bpmn:incoming>Flow_0ukmyta</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_12k6zv8</bpmn:outgoing>
|
|
|
|
</bpmn:exclusiveGateway>
|
|
|
|
<bpmn:sequenceFlow id="Flow_12k6zv8" sourceRef="Gateway_04ehsl6" targetRef="Activity_0zk4dmv" />
|
|
|
|
<bpmn:sequenceFlow id="Flow_1adlfht" sourceRef="Event_0p58mhz" targetRef="Activity_0zk4dmv" />
|
2024-02-28 06:12:39 +00:00
|
|
|
</bpmn:process>
|
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_receipt_test_8lp243a">
|
|
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
|
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-28 07:02:03 +00:00
|
|
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
|
|
|
<dc:Bounds x="822" y="-38" width="36" height="36" />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_1v1rhtl_di" bpmnElement="Activity_0qpzdpu">
|
|
|
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
|
|
|
<bpmndi:BPMNLabel />
|
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNShape id="Activity_0f3jptv_di" bpmnElement="Activity_1gw1xg0">
|
|
|
|
<dc:Bounds x="450" y="137" width="100" height="80" />
|
|
|
|
<bpmndi:BPMNLabel />
|
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNShape id="Activity_12gm32j_di" bpmnElement="Activity_09w2eud">
|
|
|
|
<dc:Bounds x="650" y="130" width="100" height="80" />
|
2024-02-28 06:12:39 +00:00
|
|
|
<bpmndi:BPMNLabel />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-28 07:09:36 +00:00
|
|
|
<bpmndi:BPMNShape id="Gateway_04ehsl6_di" bpmnElement="Gateway_04ehsl6" isMarkerVisible="true">
|
|
|
|
<dc:Bounds x="775" y="145" width="50" height="50" />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_1u8p9tq_di" bpmnElement="Activity_0zk4dmv">
|
2024-02-28 07:09:36 +00:00
|
|
|
<dc:Bounds x="940" y="330" width="100" height="80" />
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmndi:BPMNLabel />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-28 07:09:36 +00:00
|
|
|
<bpmndi:BPMNShape id="Event_14jhcdk_di" bpmnElement="Event_0p58mhz">
|
2024-02-28 06:18:38 +00:00
|
|
|
<dc:Bounds x="682" y="192" width="36" height="36" />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-28 06:12:39 +00:00
|
|
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
|
|
|
<di:waypoint x="215" y="177" />
|
|
|
|
<di:waypoint x="270" y="177" />
|
|
|
|
</bpmndi:BPMNEdge>
|
2024-02-28 06:18:38 +00:00
|
|
|
<bpmndi:BPMNEdge id="Flow_01eub9l_di" bpmnElement="Flow_01eub9l">
|
2024-02-28 06:12:39 +00:00
|
|
|
<di:waypoint x="370" y="177" />
|
2024-02-28 06:18:38 +00:00
|
|
|
<di:waypoint x="450" y="177" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_0y4at06_di" bpmnElement="Flow_0y4at06">
|
|
|
|
<di:waypoint x="550" y="177" />
|
|
|
|
<di:waypoint x="600" y="177" />
|
|
|
|
<di:waypoint x="600" y="170" />
|
|
|
|
<di:waypoint x="650" y="170" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_0ukmyta_di" bpmnElement="Flow_0ukmyta">
|
|
|
|
<di:waypoint x="750" y="170" />
|
2024-02-28 07:09:36 +00:00
|
|
|
<di:waypoint x="775" y="170" />
|
2024-02-28 06:18:38 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_0yzbpyw_di" bpmnElement="Flow_0yzbpyw">
|
2024-02-28 07:09:36 +00:00
|
|
|
<di:waypoint x="990" y="330" />
|
|
|
|
<di:waypoint x="990" y="59" />
|
2024-02-28 06:18:38 +00:00
|
|
|
<di:waypoint x="840" y="59" />
|
|
|
|
<di:waypoint x="840" y="-2" />
|
2024-02-28 06:12:39 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
2024-02-28 07:09:36 +00:00
|
|
|
<bpmndi:BPMNEdge id="Flow_12k6zv8_di" bpmnElement="Flow_12k6zv8">
|
|
|
|
<di:waypoint x="800" y="195" />
|
|
|
|
<di:waypoint x="800" y="370" />
|
|
|
|
<di:waypoint x="940" y="370" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_1adlfht_di" bpmnElement="Flow_1adlfht">
|
|
|
|
<di:waypoint x="700" y="228" />
|
|
|
|
<di:waypoint x="700" y="390" />
|
|
|
|
<di:waypoint x="940" y="390" />
|
|
|
|
</bpmndi:BPMNEdge>
|
2024-02-28 06:12:39 +00:00
|
|
|
</bpmndi:BPMNPlane>
|
|
|
|
</bpmndi:BPMNDiagram>
|
|
|
|
</bpmn:definitions>
|