/
PrintFixedInputFromMapping.bpmn
61 lines (61 loc) · 3.35 KB
/
PrintFixedInputFromMapping.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
55
56
57
58
59
60
61
<?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:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_0fr9mxs" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.6.0">
<bpmn:process id="my-project-process" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>SequenceFlow_1fp17al</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="SequenceFlow_1fp17al" sourceRef="StartEvent_1" targetRef="say-hello" />
<bpmn:endEvent id="EndEvent_0x6ir2l">
<bpmn:incoming>SequenceFlow_0tx4rek</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_16gzt2m" sourceRef="say-hello" targetRef="Task_1upgry8" />
<bpmn:scriptTask id="say-hello" name="Print fixed input from mapping" scriptFormat="javascript">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="oid">00001</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_1fp17al</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_16gzt2m</bpmn:outgoing>
<bpmn:script>print("Input: " + oid);</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="SequenceFlow_0tx4rek" sourceRef="Task_1upgry8" targetRef="EndEvent_0x6ir2l" />
<bpmn:serviceTask id="Task_1upgry8" name="Log with Spring" camunda:delegateExpression="${Logger}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="oid">0002</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>SequenceFlow_16gzt2m</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0tx4rek</bpmn:outgoing>
</bpmn:serviceTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="my-project-process">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="192" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1fp17al_di" bpmnElement="SequenceFlow_1fp17al">
<di:waypoint x="228" y="117" />
<di:waypoint x="270" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_0x6ir2l_di" bpmnElement="EndEvent_0x6ir2l">
<dc:Bounds x="572" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_16gzt2m_di" bpmnElement="SequenceFlow_16gzt2m">
<di:waypoint x="370" y="117" />
<di:waypoint x="420" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ScriptTask_0k4yjox_di" bpmnElement="say-hello">
<dc:Bounds x="270" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0tx4rek_di" bpmnElement="SequenceFlow_0tx4rek">
<di:waypoint x="520" y="117" />
<di:waypoint x="572" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ServiceTask_0sh3o3s_di" bpmnElement="Task_1upgry8">
<dc:Bounds x="420" y="77" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>