77 lines
4.1 KiB
Plaintext
Raw Normal View History

2024-07-15 10:51:00 -04:00
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Unit_Test_Sub_Process_with_Script_Task" name="Unit Test Sub Process with Script Task" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0rk8y7w</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0rk8y7w" sourceRef="StartEvent_1" targetRef="Process_tal328k" />
<bpmn:endEvent id="Event_0itg22d">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>End Sub Process with Script Task Unit Test. Variable value: {{x}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0jg5fdg</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0jg5fdg" sourceRef="Process_tal328k" targetRef="Event_0itg22d" />
<bpmn:subProcess id="Process_tal328k" name="Unit Test Sub Process with Script Task">
<bpmn:incoming>Flow_0rk8y7w</bpmn:incoming>
<bpmn:outgoing>Flow_0jg5fdg</bpmn:outgoing>
<bpmn:startEvent id="Event_1wwprqs">
<bpmn:outgoing>Flow_1rxgng2</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1rxgng2" sourceRef="Event_1wwprqs" targetRef="Activity_04dshc9" />
<bpmn:endEvent id="Event_0j2iktq">
<bpmn:incoming>Flow_0v4kerg</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0v4kerg" sourceRef="Activity_04dshc9" targetRef="Event_0j2iktq" />
<bpmn:scriptTask id="Activity_04dshc9" name="Sub Process Script Task">
<bpmn:incoming>Flow_1rxgng2</bpmn:incoming>
<bpmn:outgoing>Flow_0v4kerg</bpmn:outgoing>
<bpmn:script>x = 5</bpmn:script>
</bpmn:scriptTask>
</bpmn:subProcess>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Unit_Test_Sub_Process_with_Script_Task">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0itg22d_di" bpmnElement="Event_0itg22d">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0kf2c3u_di" bpmnElement="Process_tal328k">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0rk8y7w_di" bpmnElement="Flow_0rk8y7w">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0jg5fdg_di" bpmnElement="Flow_0jg5fdg">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="BPMNDiagram_08kzntr">
<bpmndi:BPMNPlane id="BPMNPlane_1gwzqkg" bpmnElement="Process_tal328k">
<bpmndi:BPMNShape id="Event_1wwprqs_di" bpmnElement="Event_1wwprqs">
<dc:Bounds x="212" y="202" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0j2iktq_di" bpmnElement="Event_0j2iktq">
<dc:Bounds x="452" y="202" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0ftpnv5_di" bpmnElement="Activity_04dshc9">
<dc:Bounds x="300" y="180" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1rxgng2_di" bpmnElement="Flow_1rxgng2">
<di:waypoint x="248" y="220" />
<di:waypoint x="300" y="220" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0v4kerg_di" bpmnElement="Flow_0v4kerg">
<di:waypoint x="400" y="220" />
<di:waypoint x="452" y="220" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>