mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 21:58:18 +00:00
86 lines
4.8 KiB
XML
86 lines
4.8 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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
|
<bpmn:process id="Waku_Messages_Message" name="Waku Messages: Message" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
<bpmn:outgoing>Flow_0056x0e</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:businessRuleTask id="Activity_0xuhps4" name="Get Waku Message Body">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Body</spiffworkflow:calledDecisionId>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0056x0e</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0vmjtgx</bpmn:outgoing>
|
|
</bpmn:businessRuleTask>
|
|
<bpmn:businessRuleTask id="Activity_1pstq0l" name="Get Waku Message Variables">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:calledDecisionId>Waku_Messages_Message_Variables</spiffworkflow:calledDecisionId>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0vmjtgx</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1503oql</bpmn:outgoing>
|
|
</bpmn:businessRuleTask>
|
|
<bpmn:endEvent id="Event_0hgb9d6">
|
|
<bpmn:incoming>Flow_1b2tmcm</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_1b2tmcm" sourceRef="Activity_1ll59ee" targetRef="Event_0hgb9d6" />
|
|
<bpmn:scriptTask id="Activity_1ll59ee" name="Set Message" scriptFormat="python">
|
|
<bpmn:incoming>Flow_1fj1y80</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1b2tmcm</bpmn:outgoing>
|
|
<bpmn:script># Set Message
|
|
waku_message = waku_message_body + waku_message_timestamp + waku_message_variables + waku_message_footer</bpmn:script>
|
|
</bpmn:scriptTask>
|
|
<bpmn:sequenceFlow id="Flow_0056x0e" sourceRef="StartEvent_1" targetRef="Activity_0xuhps4" />
|
|
<bpmn:sequenceFlow id="Flow_0vmjtgx" sourceRef="Activity_0xuhps4" targetRef="Activity_1pstq0l" />
|
|
<bpmn:sequenceFlow id="Flow_1503oql" sourceRef="Activity_1pstq0l" targetRef="Call_Shared_Waku_Messages_Global" />
|
|
<bpmn:callActivity id="Call_Shared_Waku_Messages_Global" name="Call Shared: Waku Messages Global" calledElement="Shared_Waku_Messages_Global">
|
|
<bpmn:incoming>Flow_1503oql</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1fj1y80</bpmn:outgoing>
|
|
</bpmn:callActivity>
|
|
<bpmn:sequenceFlow id="Flow_1fj1y80" sourceRef="Call_Shared_Waku_Messages_Global" targetRef="Activity_1ll59ee" />
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Waku_Messages_Message">
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="32" y="162" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0vm75gb_di" bpmnElement="Activity_0xuhps4">
|
|
<dc:Bounds x="130" y="140" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1soux7h_di" bpmnElement="Activity_1pstq0l">
|
|
<dc:Bounds x="290" y="140" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1ulftcx_di" bpmnElement="Call_Shared_Waku_Messages_Global">
|
|
<dc:Bounds x="450" y="140" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1h667no_di" bpmnElement="Activity_1ll59ee">
|
|
<dc:Bounds x="640" y="140" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0hgb9d6_di" bpmnElement="Event_0hgb9d6">
|
|
<dc:Bounds x="812" y="162" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_1b2tmcm_di" bpmnElement="Flow_1b2tmcm">
|
|
<di:waypoint x="740" y="180" />
|
|
<di:waypoint x="812" y="180" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0056x0e_di" bpmnElement="Flow_0056x0e">
|
|
<di:waypoint x="68" y="180" />
|
|
<di:waypoint x="130" y="180" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0vmjtgx_di" bpmnElement="Flow_0vmjtgx">
|
|
<di:waypoint x="230" y="180" />
|
|
<di:waypoint x="290" y="180" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1503oql_di" bpmnElement="Flow_1503oql">
|
|
<di:waypoint x="390" y="180" />
|
|
<di:waypoint x="450" y="180" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1fj1y80_di" bpmnElement="Flow_1fj1y80">
|
|
<di:waypoint x="550" y="180" />
|
|
<di:waypoint x="640" y="180" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|