sample-process-models/misc/waku-messages-global/waku-message-global.bpmn

68 lines
3.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: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="Shared_Waku_Messages_Global" name="Shared: Waku Messages Global" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0mhmqog</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0mhmqog" sourceRef="StartEvent_1" targetRef="Activity_0elwnuk" />
<bpmn:businessRuleTask id="Activity_0elwnuk" name="Get Waku Message Footer">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Footer</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0mhmqog</bpmn:incoming>
<bpmn:outgoing>Flow_0gmwrim</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:endEvent id="Event_1l5lalr">
<bpmn:incoming>Flow_0ed5hag</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0gmwrim" sourceRef="Activity_0elwnuk" targetRef="Activity_0rz4emr" />
<bpmn:sequenceFlow id="Flow_0ed5hag" sourceRef="Activity_0whqoqp" targetRef="Event_1l5lalr" />
<bpmn:sequenceFlow id="Flow_1y9wdf2" sourceRef="Activity_0rz4emr" targetRef="Activity_0whqoqp" />
<bpmn:callActivity id="Activity_0rz4emr" name="Call Shared: Local Date Time" calledElement="Shared_Local_Date_Time">
<bpmn:incoming>Flow_0gmwrim</bpmn:incoming>
<bpmn:outgoing>Flow_1y9wdf2</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:scriptTask id="Activity_0whqoqp" name="Set Timestamp">
<bpmn:incoming>Flow_1y9wdf2</bpmn:incoming>
<bpmn:outgoing>Flow_0ed5hag</bpmn:outgoing>
<bpmn:script># Set Waku Message Timestamp
waku_message_timestamp = "\n- - - - - - - - - - - - - - - - - - - - - - -" + "\nSent: " + local_date_str + " @ " + local_time_str + "\n- - - - - - - - - - - - - - - - - - - - - - -"</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Shared_Waku_Messages_Global">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ruow63_di" bpmnElement="Activity_0elwnuk">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1l5lalr_di" bpmnElement="Event_1l5lalr">
<dc:Bounds x="802" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_12atk39_di" bpmnElement="Activity_0rz4emr">
<dc:Bounds x="450" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0bhutm8_di" bpmnElement="Activity_0whqoqp">
<dc:Bounds x="630" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0mhmqog_di" bpmnElement="Flow_0mhmqog">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0gmwrim_di" bpmnElement="Flow_0gmwrim">
<di:waypoint x="370" y="177" />
<di:waypoint x="450" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ed5hag_di" bpmnElement="Flow_0ed5hag">
<di:waypoint x="730" y="177" />
<di:waypoint x="802" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1y9wdf2_di" bpmnElement="Flow_1y9wdf2">
<di:waypoint x="550" y="177" />
<di:waypoint x="630" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>