demo-process-models/potentially-promote-to-exam.../call-activities-with-data-i.../call_activity.bpmn

80 lines
3.9 KiB
XML

<?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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="only_a" name="I Only Accept A" isExecutable="true">
<bpmn:ioSpecification>
<bpmn:dataInput id="input" name="input" />
<bpmn:dataInput id="input2" name="input2" />
<bpmn:dataOutput id="out_var" name="out_var" />
<bpmn:inputSet />
<bpmn:outputSet />
</bpmn:ioSpecification>
<bpmn:endEvent id="Event_1rfotk7">
<bpmn:incoming>Flow_0xwv690</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0pcur1r" sourceRef="Activity_0ita3x1" targetRef="Activity_1fhzf27" />
<bpmn:scriptTask id="Activity_0ita3x1" name="set out_var to a">
<bpmn:incoming>Flow_0rybvdg</bpmn:incoming>
<bpmn:outgoing>Flow_0pcur1r</bpmn:outgoing>
<bpmn:script>out_var = input</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0xwv690" sourceRef="Activity_1fhzf27" targetRef="Event_1rfotk7" />
<bpmn:scriptTask id="Activity_1fhzf27" name="Script Task">
<bpmn:incoming>Flow_0pcur1r</bpmn:incoming>
<bpmn:outgoing>Flow_0xwv690</bpmn:outgoing>
<bpmn:script>x = 2
</bpmn:script>
</bpmn:scriptTask>
<bpmn:startEvent id="Event_0j0ylb0">
<bpmn:outgoing>Flow_0rybvdg</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0rybvdg" sourceRef="Event_0j0ylb0" targetRef="Activity_0ita3x1" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="only_a">
<bpmndi:BPMNShape id="DataInput-319647955-1DI" bpmnElement="input2">
<dc:Bounds x="142" y="-25" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="145" y="32" width="31" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1rfotk7_di" bpmnElement="Event_1rfotk7">
<dc:Bounds x="572" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0pbuois_di" bpmnElement="Activity_0ita3x1">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0htnwsv_di" bpmnElement="Activity_1fhzf27">
<dc:Bounds x="420" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0j0ylb0_di" bpmnElement="Event_0j0ylb0">
<dc:Bounds x="172" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataInput-148238758-1DI" bpmnElement="input">
<dc:Bounds x="142" y="65" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="148" y="122" width="25" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataOutput-848496090-1DI" bpmnElement="out_var">
<dc:Bounds x="622" y="65" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="622" y="122" width="38" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0pcur1r_di" bpmnElement="Flow_0pcur1r">
<di:waypoint x="370" y="177" />
<di:waypoint x="420" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0xwv690_di" bpmnElement="Flow_0xwv690">
<di:waypoint x="520" y="177" />
<di:waypoint x="572" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0rybvdg_di" bpmnElement="Flow_0rybvdg">
<di:waypoint x="208" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>