User: admin@spiffworkflow.org clicked save for playground/dan/example-process-model/quick_diagram.bpmn

This commit is contained in:
sartography-automated-committer 2023-08-17 17:42:39 +00:00
parent 0d3a328dce
commit 7274c73773

View File

@ -1,17 +1,17 @@
<?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_9yvdg79" isExecutable="true">
<bpmn:startEvent id="Event_0apjfhu">
<bpmn:outgoing>Flow_1ifayqt</bpmn:outgoing>
<bpmn:startEvent id="Event_1jnl31i">
<bpmn:outgoing>Flow_1i31vf2</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1ifayqt" sourceRef="Event_0apjfhu" targetRef="Activity_11ci181" />
<bpmn:sequenceFlow id="Flow_0uasfza" sourceRef="Activity_11ci181" targetRef="Activity_1gas12q" />
<bpmn:sequenceFlow id="Flow_1ta5txh" sourceRef="Activity_1gas12q" targetRef="Activity_1h0thhf" />
<bpmn:endEvent id="Event_0ru60a3">
<bpmn:incoming>Flow_0ww07nf</bpmn:incoming>
<bpmn:sequenceFlow id="Flow_1i31vf2" sourceRef="Event_1jnl31i" targetRef="Activity_192eh42" />
<bpmn:sequenceFlow id="Flow_0h27wmt" sourceRef="Activity_192eh42" targetRef="Activity_1pf8q9r" />
<bpmn:sequenceFlow id="Flow_0kv40ki" sourceRef="Activity_1pf8q9r" targetRef="Activity_08vvsw6" />
<bpmn:endEvent id="Event_1ylb9z0">
<bpmn:incoming>Flow_0p6895l</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0ww07nf" sourceRef="Activity_1h0thhf" targetRef="Event_0ru60a3" />
<bpmn:serviceTask id="Activity_11ci181" name="Call Api">
<bpmn:sequenceFlow id="Flow_0p6895l" sourceRef="Activity_08vvsw6" targetRef="Event_1ylb9z0" />
<bpmn:serviceTask id="Activity_192eh42" name="Get data from api">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="http/GetRequest" resultVariable="response">
<spiffworkflow:parameters>
@ -23,55 +23,57 @@
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ifayqt</bpmn:incoming>
<bpmn:outgoing>Flow_0uasfza</bpmn:outgoing>
<bpmn:incoming>Flow_1i31vf2</bpmn:incoming>
<bpmn:outgoing>Flow_0h27wmt</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:scriptTask id="Activity_1gas12q" name="Get important data">
<bpmn:incoming>Flow_0uasfza</bpmn:incoming>
<bpmn:outgoing>Flow_1ta5txh</bpmn:outgoing>
<bpmn:scriptTask id="Activity_1pf8q9r" name="Extract what we need">
<bpmn:incoming>Flow_0h27wmt</bpmn:incoming>
<bpmn:outgoing>Flow_0kv40ki</bpmn:outgoing>
<bpmn:script>image_url = response.data.images.original.url</bpmn:script>
</bpmn:scriptTask>
<bpmn:manualTask id="Activity_1h0thhf" name="Display Image">
<bpmn:manualTask id="Activity_08vvsw6" name="Display the results">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser># Here is your image!
<spiffworkflow:instructionsForEndUser># We found an image for you!
![image]({{image_url}})</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ta5txh</bpmn:incoming>
<bpmn:outgoing>Flow_0ww07nf</bpmn:outgoing>
<bpmn:incoming>Flow_0kv40ki</bpmn:incoming>
<bpmn:outgoing>Flow_0p6895l</bpmn:outgoing>
</bpmn:manualTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_9yvdg79">
<bpmndi:BPMNShape id="Event_0apjfhu_di" bpmnElement="Event_0apjfhu">
<dc:Bounds x="342" y="-458" width="36" height="36" />
<bpmndi:BPMNShape id="Event_1jnl31i_di" bpmnElement="Event_1jnl31i">
<dc:Bounds x="352" y="-598" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0ru60a3_di" bpmnElement="Event_0ru60a3">
<dc:Bounds x="912" y="-458" width="36" height="36" />
<bpmndi:BPMNShape id="Event_1ylb9z0_di" bpmnElement="Event_1ylb9z0">
<dc:Bounds x="922" y="-598" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1bpps1q_di" bpmnElement="Activity_11ci181">
<dc:Bounds x="430" y="-480" width="100" height="80" />
<bpmndi:BPMNShape id="Activity_0ifolnn_di" bpmnElement="Activity_192eh42">
<dc:Bounds x="440" y="-620" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0jpiqd5_di" bpmnElement="Activity_1gas12q">
<dc:Bounds x="590" y="-480" width="100" height="80" />
<bpmndi:BPMNShape id="Activity_0pisvku_di" bpmnElement="Activity_1pf8q9r">
<dc:Bounds x="600" y="-620" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1af71xv_di" bpmnElement="Activity_1h0thhf">
<dc:Bounds x="750" y="-480" width="100" height="80" />
<bpmndi:BPMNShape id="Activity_095m7k7_di" bpmnElement="Activity_08vvsw6">
<dc:Bounds x="760" y="-620" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1ifayqt_di" bpmnElement="Flow_1ifayqt">
<di:waypoint x="378" y="-440" />
<di:waypoint x="430" y="-440" />
<bpmndi:BPMNEdge id="Flow_1i31vf2_di" bpmnElement="Flow_1i31vf2">
<di:waypoint x="388" y="-580" />
<di:waypoint x="440" y="-580" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0uasfza_di" bpmnElement="Flow_0uasfza">
<di:waypoint x="530" y="-440" />
<di:waypoint x="590" y="-440" />
<bpmndi:BPMNEdge id="Flow_0h27wmt_di" bpmnElement="Flow_0h27wmt">
<di:waypoint x="540" y="-580" />
<di:waypoint x="600" y="-580" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ta5txh_di" bpmnElement="Flow_1ta5txh">
<di:waypoint x="690" y="-440" />
<di:waypoint x="750" y="-440" />
<bpmndi:BPMNEdge id="Flow_0kv40ki_di" bpmnElement="Flow_0kv40ki">
<di:waypoint x="700" y="-580" />
<di:waypoint x="760" y="-580" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ww07nf_di" bpmnElement="Flow_0ww07nf">
<di:waypoint x="850" y="-440" />
<di:waypoint x="912" y="-440" />
<bpmndi:BPMNEdge id="Flow_0p6895l_di" bpmnElement="Flow_0p6895l">
<di:waypoint x="860" y="-580" />
<di:waypoint x="922" y="-580" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>