User: mike@sartography.com added process model file misc/mike/send-waku-message/send_waku_message.bpmn

This commit is contained in:
sartography-automated-committer 2023-01-10 13:26:26 +00:00
parent 8d5d91a1b2
commit f9d44e8b3c
2 changed files with 85 additions and 2 deletions

View File

@ -6,6 +6,6 @@
"fault_or_suspend_on_exception": "fault",
"files": [],
"metadata_extraction_paths": null,
"primary_file_name": null,
"primary_process_id": null
"primary_file_name": "send_waku_message.bpmn",
"primary_process_id": "Process_SendWakuMessage"
}

View File

@ -0,0 +1,83 @@
<?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="Process_SendWakuMessage" name="Send Waku Message" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1x786gf</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1x786gf" sourceRef="StartEvent_1" targetRef="Activity_1f2pm8i" />
<bpmn:sequenceFlow id="Flow_02bp24o" sourceRef="Activity_1f2pm8i" targetRef="Activity_0ee2ch8" />
<bpmn:sequenceFlow id="Flow_0syxn30" sourceRef="Activity_0ee2ch8" targetRef="Activity_0p8odiv" />
<bpmn:endEvent id="Event_0h067s4">
<bpmn:incoming>Flow_0ngrgqp</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0ngrgqp" sourceRef="Activity_0p8odiv" targetRef="Event_0h067s4" />
<bpmn:userTask id="Activity_1f2pm8i" name="Get Waku Message Data">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="send_waky_message.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1x786gf</bpmn:incoming>
<bpmn:outgoing>Flow_02bp24o</bpmn:outgoing>
</bpmn:userTask>
<bpmn:serviceTask id="Activity_0ee2ch8" name="Send Waku Message">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="waku_message_response">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="message" type="str" value="message" />
<spiffworkflow:parameter id="message_type" type="str" value="&#34;wakuext_sendOneToOneMessage&#34;" />
<spiffworkflow:parameter id="recipient" type="str" value="address" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_02bp24o</bpmn:incoming>
<bpmn:outgoing>Flow_0syxn30</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:manualTask id="Activity_0p8odiv" name="Display Waku Message Results">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>## Waku Message Response
waku_message_response</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0syxn30</bpmn:incoming>
<bpmn:outgoing>Flow_0ngrgqp</bpmn:outgoing>
</bpmn:manualTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_SendWakuMessage">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0h067s4_di" bpmnElement="Event_0h067s4">
<dc:Bounds x="752" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_13onubm_di" bpmnElement="Activity_1f2pm8i">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_02gp9v4_di" bpmnElement="Activity_0ee2ch8">
<dc:Bounds x="430" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0786cqv_di" bpmnElement="Activity_0p8odiv">
<dc:Bounds x="590" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1x786gf_di" bpmnElement="Flow_1x786gf">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02bp24o_di" bpmnElement="Flow_02bp24o">
<di:waypoint x="370" y="177" />
<di:waypoint x="430" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0syxn30_di" bpmnElement="Flow_0syxn30">
<di:waypoint x="530" y="177" />
<di:waypoint x="590" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ngrgqp_di" bpmnElement="Flow_0ngrgqp">
<di:waypoint x="690" y="177" />
<di:waypoint x="752" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>