-
Notifications
You must be signed in to change notification settings - Fork 14
/
demo-get-time-2.bpmn
54 lines (54 loc) · 2.86 KB
/
demo-get-time-2.bpmn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?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:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0imt8sg" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Zeebe Modeler" exporterVersion="0.8.0">
<bpmn:process id="demo-get-time-2" name="demo-get-time-2" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Start">
<bpmn:outgoing>SequenceFlow_0028b9j</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="SequenceFlow_0028b9j" sourceRef="StartEvent_1" targetRef="Task_0fx82uc" />
<bpmn:endEvent id="EndEvent_0rz1yn9" name="End">
<bpmn:incoming>SequenceFlow_0nm7n03</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_0nm7n03" sourceRef="Task_0fx82uc" targetRef="EndEvent_0rz1yn9" />
<bpmn:serviceTask id="Task_0fx82uc" name="Get JSON time">
<bpmn:extensionElements>
<zeebe:taskDefinition type="CAMUNDA-HTTP" />
<zeebe:taskHeaders>
<zeebe:header key="url" value="https://json-api.joshwulf.com/time" />
<zeebe:header key="get" />
</zeebe:taskHeaders>
<zeebe:ioMapping>
<zeebe:output source="body" target="time_from_api" />
</zeebe:ioMapping>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_0028b9j</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0nm7n03</bpmn:outgoing>
</bpmn:serviceTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="demo-get-time-2">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="99" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="185" y="142" width="24" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0028b9j_di" bpmnElement="SequenceFlow_0028b9j">
<di:waypoint x="215" y="117" />
<di:waypoint x="270" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_0rz1yn9_di" bpmnElement="EndEvent_0rz1yn9">
<dc:Bounds x="432" y="99" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="440" y="142" width="20" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0nm7n03_di" bpmnElement="SequenceFlow_0nm7n03">
<di:waypoint x="370" y="117" />
<di:waypoint x="432" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ServiceTask_0hvs57r_di" bpmnElement="Task_0fx82uc">
<dc:Bounds x="270" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>