add waku service task model and changed the existing one to talk to xero w/ burnettk
This commit is contained in:
parent
0bd7e6bc84
commit
6be84ada6c
|
@ -0,0 +1,47 @@
|
||||||
|
<?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="Proccess_lh9wv87" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_0iz08hi</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0iz08hi" sourceRef="StartEvent_1" targetRef="Activity_00ypa5q" />
|
||||||
|
<bpmn:endEvent id="Event_0ss6qca">
|
||||||
|
<bpmn:incoming>Flow_1117y8h</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1117y8h" sourceRef="Activity_00ypa5q" targetRef="Event_0ss6qca" />
|
||||||
|
<bpmn:serviceTask id="Activity_00ypa5q">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:serviceTaskOperator id="waku/SendMessage">
|
||||||
|
<spiffworkflow:parameters>
|
||||||
|
<spiffworkflow:parameter id="message" type="str" value=""test_from_frontend"" />
|
||||||
|
<spiffworkflow:parameter id="message_type" type="str" value=""wakuext_sendOneToOneMessage"" />
|
||||||
|
<spiffworkflow:parameter id="recipient" type="str" value=""0x04aa379d2661d6358f41b47a866f2674ca987e3398e93318ec08ea58b9f7035df491131a62ad3a469af609df9af58bcad698dac7f01e160130b7e187c60b824973"" />
|
||||||
|
</spiffworkflow:parameters>
|
||||||
|
</spiffworkflow:serviceTaskOperator>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0iz08hi</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1117y8h</bpmn:outgoing>
|
||||||
|
</bpmn:serviceTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_lh9wv87">
|
||||||
|
<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_0ss6qca_di" bpmnElement="Event_0ss6qca">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0ugbm6d_di" bpmnElement="Activity_00ypa5q">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0iz08hi_di" bpmnElement="Flow_0iz08hi">
|
||||||
|
<di:waypoint x="215" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1117y8h_di" bpmnElement="Flow_1117y8h">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"description": "Service Task Waku",
|
||||||
|
"display_name": "Service Task Waku",
|
||||||
|
"display_order": 12,
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"files": [],
|
||||||
|
"id": "service-task-waku",
|
||||||
|
"is_review": false,
|
||||||
|
"primary_file_name": "service_task_waku.bpmn",
|
||||||
|
"primary_process_id": "Proccess_lh9wv87",
|
||||||
|
"process_group_id": "category_number_one"
|
||||||
|
}
|
|
@ -11,11 +11,13 @@
|
||||||
<bpmn:sequenceFlow id="Flow_09h0mla" sourceRef="service_task_one" targetRef="Event_0fy5yvl" />
|
<bpmn:sequenceFlow id="Flow_09h0mla" sourceRef="service_task_one" targetRef="Event_0fy5yvl" />
|
||||||
<bpmn:serviceTask id="service_task_one" name="Service Task One">
|
<bpmn:serviceTask id="service_task_one" name="Service Task One">
|
||||||
<bpmn:extensionElements>
|
<bpmn:extensionElements>
|
||||||
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="waku_response">
|
<spiffworkflow:serviceTaskOperator id="xero/CreateInvoice">
|
||||||
<spiffworkflow:parameters>
|
<spiffworkflow:parameters>
|
||||||
<spiffworkflow:parameter id="message" type="str" value=""hiya, am the system sending you a message"" />
|
<spiffworkflow:parameter id="access_token" type="any" value=""secret:xero/OAuth"" />
|
||||||
<spiffworkflow:parameter id="message_type" type="str" value=""wakuext_sendOneToOneMessage"" />
|
<spiffworkflow:parameter id="amount" type="str" value=""24.10"" />
|
||||||
<spiffworkflow:parameter id="recipient" type="str" value=""0x04aa379d2661d6358f41b47a866f2674ca987e3398e93318ec08ea58b9f7035df491131a62ad3a469af609df9af58bcad698dac7f01e160130b7e187c60b824973"" />
|
<spiffworkflow:parameter id="contact_email" type="str" value=""ben.bowden@24locks.com"" />
|
||||||
|
<spiffworkflow:parameter id="contact_name" type="str" value=""Foo Bar"" />
|
||||||
|
<spiffworkflow:parameter id="description" type="str" value=""testing"" />
|
||||||
</spiffworkflow:parameters>
|
</spiffworkflow:parameters>
|
||||||
</spiffworkflow:serviceTaskOperator>
|
</spiffworkflow:serviceTaskOperator>
|
||||||
</bpmn:extensionElements>
|
</bpmn:extensionElements>
|
||||||
|
|
Loading…
Reference in New Issue