sample-process-models/misc/qa/bpmn-model-testing/unit-test-multi-instance-parallel-user-task-input-collection/unit-test-multi-instance-parallel-user-task-input-collection.bpmn

72 lines
4.0 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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="MI_Parallel_User_Task_Input_Collection" name="MI Parallel User Task Input Collection" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_15pgybm</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:endEvent id="Event_1qbirzy">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>End MI Parallel User Task Input Collection Unit Test. {{Colors}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1cay35q</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1cay35q" sourceRef="User_Task" targetRef="Event_1qbirzy" />
<bpmn:userTask id="User_Task" name="MI Parallel User Task Input Collection">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="what-color-is-schema.json" />
</spiffworkflow:properties>
<spiffworkflow:postScript />
<spiffworkflow:preScript />
<spiffworkflow:instructionsForEndUser>product {{product}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1w8sp1i</bpmn:incoming>
<bpmn:outgoing>Flow_1cay35q</bpmn:outgoing>
<bpmn:multiInstanceLoopCharacteristics>
<bpmn:loopDataInputRef>products</bpmn:loopDataInputRef>
<bpmn:loopDataOutputRef>Colors</bpmn:loopDataOutputRef>
<bpmn:inputDataItem id="product" name="product" />
<bpmn:outputDataItem id="color" name="color" />
<bpmn:completionCondition xsi:type="bpmn:tFormalExpression" />
</bpmn:multiInstanceLoopCharacteristics>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_15pgybm" sourceRef="StartEvent_1" targetRef="Activity_02knjb9" />
<bpmn:sequenceFlow id="Flow_1w8sp1i" sourceRef="Activity_02knjb9" targetRef="User_Task" />
<bpmn:scriptTask id="Activity_02knjb9" name="Initializing Script Task">
<bpmn:incoming>Flow_15pgybm</bpmn:incoming>
<bpmn:outgoing>Flow_1w8sp1i</bpmn:outgoing>
<bpmn:script>products = [1,2,3]</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="MI_Parallel_User_Task_Input_Collection">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-8" y="52" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1qbirzy_di" bpmnElement="Event_1qbirzy">
<dc:Bounds x="392" y="52" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_12brn6s_di" bpmnElement="User_Task">
<dc:Bounds x="240" y="30" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0jpgryr_di" bpmnElement="Activity_02knjb9">
<dc:Bounds x="80" y="30" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1cay35q_di" bpmnElement="Flow_1cay35q">
<di:waypoint x="340" y="70" />
<di:waypoint x="392" y="70" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_15pgybm_di" bpmnElement="Flow_15pgybm">
<di:waypoint x="28" y="70" />
<di:waypoint x="80" y="70" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1w8sp1i_di" bpmnElement="Flow_1w8sp1i">
<di:waypoint x="180" y="70" />
<di:waypoint x="240" y="70" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>