spiff-arena/tests/SpiffWorkflow/spiff/data/prescript_postscript_parent.bpmn
jasquat 69e814758e Squashed 'SpiffWorkflow/' changes from 12f81480a..d27519a36
d27519a36 Merge pull request #259 from sartography/bugfix/spiff-postscript-execution
21aa8a12c update execution order for postscripts
d83fd3d81 Merge pull request #256 from sartography/feature/xml-validation
8303aaab5 uping the sleep time in a test slightly to see if we can get this test to pass consistently in CI.
1d251d55d determine whether to validate by passing in a validator instead of a parameter
2d3daad2d add spiff schema
f8c65dc60 Minor changes to BPMN diagrams to assure all tests are run against valid BPMN Diagrams. Changes required:
9e06b25bf add DMN validation
1b7cbeba0 set parser to validate by default
53fdbba52 add schemas & validation option
a212d9c5d general cleanup

git-subtree-dir: SpiffWorkflow
git-subtree-split: d27519a3631b9772094e5f24dba2f478b0c47135
2022-10-27 10:50:48 -04:00

44 lines
2.5 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" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_19o7vxg" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.17.0">
<bpmn:process id="parent" isExecutable="true">
<bpmn:startEvent id="Event_1i37yhp">
<bpmn:outgoing>Flow_1e5oj0e</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1e5oj0e" sourceRef="Event_1i37yhp" targetRef="Activity_0g9bcsc" />
<bpmn:endEvent id="Event_0x1oo4p">
<bpmn:incoming>Flow_089vunc</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_089vunc" sourceRef="Activity_0g9bcsc" targetRef="Event_0x1oo4p" />
<bpmn:callActivity id="Activity_0g9bcsc" name="Update Data" calledElement="update_data">
<bpmn:extensionElements>
<spiffworkflow:preScript>in_data = old</spiffworkflow:preScript>
<spiffworkflow:postScript>new = out_data</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1e5oj0e</bpmn:incoming>
<bpmn:outgoing>Flow_089vunc</bpmn:outgoing>
</bpmn:callActivity>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="parent">
<bpmndi:BPMNEdge id="Flow_1e5oj0e_di" bpmnElement="Flow_1e5oj0e">
<di:waypoint x="448" y="30" />
<di:waypoint x="500" y="30" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_089vunc_di" bpmnElement="Flow_089vunc">
<di:waypoint x="600" y="30" />
<di:waypoint x="652" y="30" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1i37yhp_di" bpmnElement="Event_1i37yhp">
<dc:Bounds x="412" y="12" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0x1oo4p_di" bpmnElement="Event_0x1oo4p">
<dc:Bounds x="652" y="12" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1psqtjk_di" bpmnElement="Activity_0g9bcsc">
<dc:Bounds x="500" y="-10" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>