summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCoreBPMN/src/test/resources/BaseTaskTest.bpmn
blob: bb15ce2e5e61aea89ad710853e4769935a5e5146 (plain)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_IS440DbGEeWouodEI7MXGQ" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://camunda.org/schema/1.0/bpmn">
  <bpmn2:process id="BaseTaskTest" name="BaseTaskTest" isExecutable="true">
    <bpmn2:startEvent id="StartEvent_1">
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:serviceTask id="ServiceTask_1" camunda:class="org.openecomp.mso.bpmn.core.TestBaseTask$TestTask" name="TestTask">
      <bpmn2:extensionElements>
        <camunda:field name="existingString">
          <camunda:string>Hello World</camunda:string>
        </camunda:field>
        <camunda:field name="existingStringFromVar">
          <camunda:expression>${firstName}</camunda:expression>
        </camunda:field>
        <camunda:field name="nonExistingStringFromVar">
          <camunda:expression>${undefinedVariable}</camunda:expression>
        </camunda:field>
        <camunda:field name="existingInteger">
          <camunda:string>42</camunda:string>
        </camunda:field>
        <camunda:field name="existingIntegerFromVar">
          <camunda:expression>${age}</camunda:expression>
        </camunda:field>
        <camunda:field name="nonExistingIntegerFromVar">
          <camunda:expression>${undefinedVariable}</camunda:expression>
        </camunda:field>
        <camunda:field name="existingLong">
          <camunda:string>123456789</camunda:string>
        </camunda:field>
        <camunda:field name="existingLongFromVar">
          <camunda:expression>${lastVisit}</camunda:expression>
        </camunda:field>
        <camunda:field name="nonExistingLongFromVar">
          <camunda:expression>${undefinedVariable}</camunda:expression>
        </camunda:field>
        <camunda:field name="existingOutputVar">
          <camunda:string>goodVariable</camunda:string>
        </camunda:field>
        <camunda:field name="existingBadOutputVar">
          <camunda:string>bad Variable</camunda:string>
        </camunda:field>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
    </bpmn2:serviceTask>
    <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="ServiceTask_1"/>
    <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="ServiceTask_1" targetRef="EndEvent_1"/>
    <bpmn2:endEvent id="EndEvent_1">
      <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
    </bpmn2:endEvent>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="BaseTaskTest">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_36" bpmnElement="StartEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="55.0" y="38.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_68" bpmnElement="ServiceTask_1">
        <dc:Bounds height="80.0" width="100.0" x="180.0" y="16.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_36" targetElement="_BPMNShape_ServiceTask_68">
        <di:waypoint xsi:type="dc:Point" x="91.0" y="56.0"/>
        <di:waypoint xsi:type="dc:Point" x="180.0" y="56.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_83" bpmnElement="EndEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="369.0" y="38.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="387.0" y="79.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ServiceTask_68" targetElement="_BPMNShape_EndEvent_83">
        <di:waypoint xsi:type="dc:Point" x="280.0" y="56.0"/>
        <di:waypoint xsi:type="dc:Point" x="369.0" y="56.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="6.0" width="6.0" x="370.0" y="57.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>