mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
50 lines
2.9 KiB
Plaintext
50 lines
2.9 KiB
Plaintext
|
<?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_dr6y5zi" isExecutable="true">
|
||
|
<bpmn:startEvent id="StartEvent_1">
|
||
|
<bpmn:outgoing>Flow_116qrm3</bpmn:outgoing>
|
||
|
</bpmn:startEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_116qrm3" sourceRef="StartEvent_1" targetRef="Activity_1b0bnuo" />
|
||
|
<bpmn:endEvent id="Event_12czlsn">
|
||
|
<bpmn:incoming>Flow_0h7q3rh</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_0h7q3rh" sourceRef="Activity_1b0bnuo" targetRef="Event_12czlsn" />
|
||
|
<bpmn:serviceTask id="Activity_1b0bnuo" name="simple price">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:serviceTaskOperator id="http/GetRequest">
|
||
|
<spiffworkflow:parameters>
|
||
|
<spiffworkflow:parameter id="auth" type="any" value="None" />
|
||
|
<spiffworkflow:parameter id="headers" type="any" value="{"Accept": "application/json"}" />
|
||
|
<spiffworkflow:parameter id="params" type="any" value="{"ids": "DAI", "vs_currencies": "USD,ETH" }" />
|
||
|
<spiffworkflow:parameter id="url" type="str" value=""https://api.coingecko.com/api/v3/simple/price"" />
|
||
|
</spiffworkflow:parameters>
|
||
|
</spiffworkflow:serviceTaskOperator>
|
||
|
</bpmn:extensionElements>
|
||
|
<bpmn:incoming>Flow_116qrm3</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_0h7q3rh</bpmn:outgoing>
|
||
|
</bpmn:serviceTask>
|
||
|
</bpmn:process>
|
||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_dr6y5zi">
|
||
|
<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_12czlsn_di" bpmnElement="Event_12czlsn">
|
||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_04czo4m_di" bpmnElement="Activity_1b0bnuo">
|
||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge id="Flow_116qrm3_di" bpmnElement="Flow_116qrm3">
|
||
|
<di:waypoint x="215" y="177" />
|
||
|
<di:waypoint x="270" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_0h7q3rh_di" bpmnElement="Flow_0h7q3rh">
|
||
|
<di:waypoint x="370" y="177" />
|
||
|
<di:waypoint x="432" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
</bpmndi:BPMNPlane>
|
||
|
</bpmndi:BPMNDiagram>
|
||
|
</bpmn:definitions>
|