sample-process-models/misc/test/wt-5/WT-5.bpmn

108 lines
5.9 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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" 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">
<bpmn:process id="Proccess_m9e0urn" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0blz8m6</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0blz8m6" sourceRef="StartEvent_1" targetRef="Call_Shared_Local_Date_Time_1" />
<bpmn:endEvent id="Event_1qdv7c0">
<bpmn:incoming>Flow_00cmal6</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1jdrc20" sourceRef="Activity_1dx9now" targetRef="Event_1dbafvu" />
<bpmn:businessRuleTask id="Activity_1dx9now" name="Choose a vaule">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>decision_1</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1kf08qa</bpmn:incoming>
<bpmn:outgoing>Flow_1jdrc20</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="Flow_1ghl3no" sourceRef="Event_1dbafvu" targetRef="Call_Shared_Local_Date_Time_2" />
<bpmn:intermediateCatchEvent id="Event_1dbafvu" name="1 minute">
<bpmn:incoming>Flow_1jdrc20</bpmn:incoming>
<bpmn:outgoing>Flow_1ghl3no</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_1x44x37">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(minutes=Result)</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_1kf08qa" sourceRef="Call_Shared_Local_Date_Time_1" targetRef="Activity_1dx9now" />
<bpmn:callActivity id="Call_Shared_Local_Date_Time_1" name="Call Shared: Local Date Time" calledElement="Shared_Local_Date_Time">
<bpmn:extensionElements>
<spiffworkflow:postScript>start_time = local_time_str</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0blz8m6</bpmn:incoming>
<bpmn:outgoing>Flow_1kf08qa</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:callActivity id="Call_Shared_Local_Date_Time_2" name="Call Shared: Local Date Time" calledElement="Shared_Local_Date_Time">
<bpmn:extensionElements>
<spiffworkflow:postScript>end_time = local_time_str</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ghl3no</bpmn:incoming>
<bpmn:outgoing>Flow_0sf1cr6</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_0sf1cr6" sourceRef="Call_Shared_Local_Date_Time_2" targetRef="Activity_1jxt03n" />
<bpmn:sequenceFlow id="Flow_00cmal6" sourceRef="Activity_1jxt03n" targetRef="Event_1qdv7c0" />
<bpmn:manualTask id="Activity_1jxt03n" name="Show Times">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>{{ start_time }}
{{ end_time }}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0sf1cr6</bpmn:incoming>
<bpmn:outgoing>Flow_00cmal6</bpmn:outgoing>
</bpmn:manualTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_m9e0urn">
<bpmndi:BPMNShape id="Activity_1jq7wyx_di" bpmnElement="Call_Shared_Local_Date_Time_1">
<dc:Bounds x="20" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-48" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_18m16xx_di" bpmnElement="Activity_1dx9now">
<dc:Bounds x="160" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1yscpb0_di" bpmnElement="Event_1dbafvu">
<dc:Bounds x="292" y="159" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="289" y="202" width="43" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0dr4srs" bpmnElement="Call_Shared_Local_Date_Time_2">
<dc:Bounds x="360" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0yako6s_di" bpmnElement="Activity_1jxt03n">
<dc:Bounds x="500" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1qdv7c0_di" bpmnElement="Event_1qdv7c0">
<dc:Bounds x="632" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0blz8m6_di" bpmnElement="Flow_0blz8m6">
<di:waypoint x="-12" y="177" />
<di:waypoint x="20" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1jdrc20_di" bpmnElement="Flow_1jdrc20">
<di:waypoint x="260" y="177" />
<di:waypoint x="292" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ghl3no_di" bpmnElement="Flow_1ghl3no">
<di:waypoint x="328" y="177" />
<di:waypoint x="360" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1kf08qa_di" bpmnElement="Flow_1kf08qa">
<di:waypoint x="120" y="177" />
<di:waypoint x="160" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0sf1cr6_di" bpmnElement="Flow_0sf1cr6">
<di:waypoint x="460" y="177" />
<di:waypoint x="500" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00cmal6_di" bpmnElement="Flow_00cmal6">
<di:waypoint x="600" y="177" />
<di:waypoint x="632" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>