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

96 lines
5.1 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" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="resp_XeroCurrencies" name="resp_XeroCurrencies" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_00dtwg4</bpmn:outgoing>
</bpmn:startEvent>
- <bpmn:sequenceFlow id="Flow_00dtwg4" sourceRef="StartEvent_1" targetRef="Activity_1exwsxw" />
<bpmn:endEvent id="Event_1y0ygn2">
<bpmn:incoming>Flow_1a7e6ex</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_13gbhum" sourceRef="Activity_19d5hif" targetRef="Activity_0yiiiu2" />
<bpmn:callActivity id="Activity_19d5hif" name="Call with vars" calledElement="only_a">
<bpmn:extensionElements>
<spiffworkflow:postScript />
<spiffworkflow:preScript>input = 100</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0v9ir1d</bpmn:incoming>
<bpmn:outgoing>Flow_13gbhum</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_1a7e6ex" sourceRef="Activity_0yiiiu2" targetRef="Event_1y0ygn2" />
<bpmn:callActivity id="Activity_0yiiiu2" name="Invalid Call Activity" calledElement="only_a">
<bpmn:incoming>Flow_13gbhum</bpmn:incoming>
<bpmn:outgoing>Flow_1a7e6ex</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:dataObjectReference id="DataObjectReference_14f7xcp" name="Data Object I Lmod" dataObjectRef="DataObject_1i1lmod" />
<bpmn:dataObject id="DataObject_1i1lmod" />
<bpmn:sequenceFlow id="Flow_0v9ir1d" sourceRef="Activity_1m3g1le" targetRef="Activity_19d5hif" />
<bpmn:businessRuleTask id="Activity_1m3g1le" name="numbers to letters">
<bpmn:extensionElements>
<spiffworkflow:preScript>x=3</spiffworkflow:preScript>
<spiffworkflow:calledDecisionId>decision_1</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_164dn79</bpmn:incoming>
<bpmn:outgoing>Flow_0v9ir1d</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="Flow_164dn79" sourceRef="Activity_1exwsxw" targetRef="Activity_1m3g1le" />
<bpmn:scriptTask id="Activity_1exwsxw" name="x = 3">
<bpmn:incoming>Flow_00dtwg4</bpmn:incoming>
<bpmn:outgoing>Flow_164dn79</bpmn:outgoing>
<bpmn:script>x=3</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="resp_XeroCurrencies">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-88" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1y0ygn2_di" bpmnElement="Event_1y0ygn2">
<dc:Bounds x="722" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_02h6yf2_di" bpmnElement="Activity_19d5hif">
<dc:Bounds x="350" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1t9qr8m_di" bpmnElement="Activity_0yiiiu2">
<dc:Bounds x="530" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataObjectReference_14f7xcp_di" bpmnElement="DataObjectReference_14f7xcp">
<dc:Bounds x="232" y="245" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="218" y="302" width="65" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_15hbkv0_di" bpmnElement="Activity_1m3g1le">
<dc:Bounds x="160" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_049botf_di" bpmnElement="Activity_1exwsxw">
<dc:Bounds x="0" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_00dtwg4_di" bpmnElement="Flow_00dtwg4">
<di:waypoint x="-52" y="177" />
<di:waypoint x="0" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_13gbhum_di" bpmnElement="Flow_13gbhum">
<di:waypoint x="450" y="177" />
<di:waypoint x="530" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1a7e6ex_di" bpmnElement="Flow_1a7e6ex">
<di:waypoint x="630" y="177" />
<di:waypoint x="722" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0v9ir1d_di" bpmnElement="Flow_0v9ir1d">
<di:waypoint x="260" y="177" />
<di:waypoint x="350" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_164dn79_di" bpmnElement="Flow_164dn79">
<di:waypoint x="100" y="177" />
<di:waypoint x="160" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>