mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 22:25:14 +00:00
81 lines
3.8 KiB
XML
81 lines
3.8 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: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="Proccess_xy8tu6y" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
<bpmn:outgoing>Flow_0n9fche</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_0n9fche" sourceRef="StartEvent_1" targetRef="Activity_00rqhb1" />
|
|
<bpmn:businessRuleTask id="Activity_15gcg70" name="Run Boolean Test">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:calledDecisionId>Boolean_Test</spiffworkflow:calledDecisionId>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0dpcshe</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1fddirq</bpmn:outgoing>
|
|
</bpmn:businessRuleTask>
|
|
<bpmn:sequenceFlow id="Flow_0dpcshe" sourceRef="Activity_00rqhb1" targetRef="Activity_15gcg70" />
|
|
<bpmn:scriptTask id="Activity_00rqhb1" name="Set Values">
|
|
<bpmn:incoming>Flow_0n9fche</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0dpcshe</bpmn:outgoing>
|
|
<bpmn:script>a = 1
|
|
b = 1</bpmn:script>
|
|
</bpmn:scriptTask>
|
|
<bpmn:sequenceFlow id="Flow_1fddirq" sourceRef="Activity_15gcg70" targetRef="Activity_1pldlic" />
|
|
<bpmn:manualTask id="Activity_1pldlic" name="Show Result">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:instructionsForEndUser>**Input Column Expressions**
|
|
*Col1:* a == 1
|
|
*Col2L* b > 0
|
|
|
|
|
|
|
|
**Input Data**
|
|
a = {{ a }}
|
|
b = {{ b }}
|
|
|
|
{{ result }}</spiffworkflow:instructionsForEndUser>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_1fddirq</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_14fc4g0</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:endEvent id="Event_0k1k0cq">
|
|
<bpmn:incoming>Flow_14fc4g0</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_14fc4g0" sourceRef="Activity_1pldlic" targetRef="Event_0k1k0cq" />
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_xy8tu6y">
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0t7mfd2_di" bpmnElement="Activity_15gcg70">
|
|
<dc:Bounds x="450" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0r9f4b9_di" bpmnElement="Activity_00rqhb1">
|
|
<dc:Bounds x="280" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0dvyu8t_di" bpmnElement="Activity_1pldlic">
|
|
<dc:Bounds x="620" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0k1k0cq_di" bpmnElement="Event_0k1k0cq">
|
|
<dc:Bounds x="792" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_0n9fche_di" bpmnElement="Flow_0n9fche">
|
|
<di:waypoint x="215" y="177" />
|
|
<di:waypoint x="280" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0dpcshe_di" bpmnElement="Flow_0dpcshe">
|
|
<di:waypoint x="380" y="177" />
|
|
<di:waypoint x="450" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1fddirq_di" bpmnElement="Flow_1fddirq">
|
|
<di:waypoint x="550" y="177" />
|
|
<di:waypoint x="620" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_14fc4g0_di" bpmnElement="Flow_14fc4g0">
|
|
<di:waypoint x="720" y="177" />
|
|
<di:waypoint x="792" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|