<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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_1" targetNamespace="http://bpmn.io/schema/bpmn">
  <bpmn:process id="Process_1" isExecutable="false">
    <bpmn:serviceTask id="WITHOUT_INPUT_OUTPUT" name="Without Input/Output" />
    <bpmn:serviceTask id="WITH_INPUT_PARAMS" name="With Input">
      <bpmn:extensionElements>
        <camunda:inputOutput>
          <camunda:inputParameter name="input1">hello world!</camunda:inputParameter>
          <camunda:inputParameter name="input2">
            <camunda:script scriptFormat="javascript"><![CDATA[var foo = 'bar';]]></camunda:script>
          </camunda:inputParameter>
          <camunda:inputParameter name="input3">
            <camunda:list>
              <camunda:value>item1</camunda:value>
            </camunda:list>
          </camunda:inputParameter>
          <camunda:inputParameter name="input4">
            <camunda:map>
              <camunda:entry key="entryKey1">entryValue1</camunda:entry>
            </camunda:map>
          </camunda:inputParameter>
        </camunda:inputOutput>
        <camunda:executionListener expression="${abc}" event="end" />
      </bpmn:extensionElements>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="WITH_OUTPUT_PARAMS" name="With Output">
      <bpmn:extensionElements>
        <camunda:inputOutput>
          <camunda:outputParameter name="output1">hello world!</camunda:outputParameter>
          <camunda:outputParameter name="output2">
            <camunda:script scriptFormat="javascript"><![CDATA[var foo = 'bar';]]></camunda:script>
          </camunda:outputParameter>
          <camunda:outputParameter name="output3">
            <camunda:list>
              <camunda:value>item1</camunda:value>
            </camunda:list>
          </camunda:outputParameter>
          <camunda:outputParameter name="output4">
            <camunda:map>
              <camunda:entry key="entryKey1">entryValue1</camunda:entry>
            </camunda:map>
          </camunda:outputParameter>
        </camunda:inputOutput>
      </bpmn:extensionElements>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="WITH_INPUT_OUTPUT_PARAMS" name="With Input/Output">
      <bpmn:extensionElements>
        <camunda:inputOutput>
          <camunda:inputParameter name="input1">hello world!</camunda:inputParameter>
          <camunda:inputParameter name="input2">
            <camunda:script scriptFormat="javascript"><![CDATA[var foo = 'bar';]]></camunda:script>
          </camunda:inputParameter>
          <camunda:inputParameter name="input3">
            <camunda:list>
              <camunda:value>item1</camunda:value>
            </camunda:list>
          </camunda:inputParameter>
          <camunda:inputParameter name="input4">
            <camunda:map>
              <camunda:entry key="entryKey1">entryValue1</camunda:entry>
            </camunda:map>
          </camunda:inputParameter>
          <camunda:outputParameter name="output1">hello world!</camunda:outputParameter>
          <camunda:outputParameter name="output2">
            <camunda:script scriptFormat="javascript"><![CDATA[var foo = 'bar';]]></camunda:script>
          </camunda:outputParameter>
          <camunda:outputParameter name="output3">
            <camunda:list>
              <camunda:value>item1</camunda:value>
            </camunda:list>
          </camunda:outputParameter>
          <camunda:outputParameter name="output4">
            <camunda:map>
              <camunda:entry key="entryKey1">entryValue1</camunda:entry>
            </camunda:map>
          </camunda:outputParameter>
        </camunda:inputOutput>
      </bpmn:extensionElements>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="MAP_LIST_INPUT" name="With complex Map and List">
      <bpmn:extensionElements>
        <camunda:inputOutput>
          <camunda:inputParameter name="list">
            <camunda:list>
              <camunda:script />
              <camunda:list />
              <camunda:map />
            </camunda:list>
          </camunda:inputParameter>
          <camunda:inputParameter name="map">
            <camunda:map>
              <camunda:entry key="key1"><camunda:script /></camunda:entry>
              <camunda:entry key="key2"><camunda:list /></camunda:entry>
              <camunda:entry key="key3"><camunda:map /></camunda:entry>
            </camunda:map>
          </camunda:inputParameter>
        </camunda:inputOutput>
      </bpmn:extensionElements>
    </bpmn:serviceTask>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
      <bpmndi:BPMNShape id="ServiceTask_1ylhfws_di" bpmnElement="WITHOUT_INPUT_OUTPUT">
        <dc:Bounds x="131" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_1c1lbxd_di" bpmnElement="WITH_INPUT_PARAMS">
        <dc:Bounds x="265" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_0ml0kh0_di" bpmnElement="WITH_OUTPUT_PARAMS">
        <dc:Bounds x="399" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_1eyqyj1_di" bpmnElement="WITH_INPUT_OUTPUT_PARAMS">
        <dc:Bounds x="546" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_0xna5p3_di" bpmnElement="MAP_LIST_INPUT">
        <dc:Bounds x="131" y="213" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
