spiff-arena/tests/SpiffWorkflow/spiff/data/prescript_postscript_call_activity.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

63 lines
3.2 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: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="update_data" isExecutable="true">
<bpmn:ioSpecification>
<bpmn:dataInput id="in_data" name="Input" />
<bpmn:dataOutput id="out_data" name="Output" />
<bpmn:inputSet>
<bpmn:dataInputRefs>in_data</bpmn:dataInputRefs>
</bpmn:inputSet>
<bpmn:outputSet>
<bpmn:dataOutputRefs>out_data</bpmn:dataOutputRefs>
</bpmn:outputSet>
</bpmn:ioSpecification>
<bpmn:startEvent id="Event_1ftsuzw">
<bpmn:outgoing>Flow_1a4nkhi</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1a4nkhi" sourceRef="Event_1ftsuzw" targetRef="Activity_10u9eb7" />
<bpmn:endEvent id="Event_191myup">
<bpmn:incoming>Flow_1eqhoeg</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1eqhoeg" sourceRef="Activity_10u9eb7" targetRef="Event_191myup" />
<bpmn:scriptTask id="Activity_10u9eb7" name="Do Something" scriptFormat="python">
<bpmn:incoming>Flow_1a4nkhi</bpmn:incoming>
<bpmn:outgoing>Flow_1eqhoeg</bpmn:outgoing>
<bpmn:script>out_data = in_data.upper()</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="update_data">
<bpmndi:BPMNShape id="DataInput-727004773-1DI" bpmnElement="DataInput-727004773-1">
<dc:Bounds x="432" y="15" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="439" y="72" width="24" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataOutput-381618655-1DI" bpmnElement="DataOutput-381618655-1">
<dc:Bounds x="672" y="15" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="675" y="72" width="31" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1a4nkhi_di" bpmnElement="Flow_1a4nkhi">
<di:waypoint x="468" y="140" />
<di:waypoint x="520" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1eqhoeg_di" bpmnElement="Flow_1eqhoeg">
<di:waypoint x="620" y="140" />
<di:waypoint x="672" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1ftsuzw_di" bpmnElement="Event_1ftsuzw">
<dc:Bounds x="432" y="122" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_191myup_di" bpmnElement="Event_191myup">
<dc:Bounds x="672" y="122" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0e5bjbf_di" bpmnElement="Activity_10u9eb7">
<dc:Bounds x="520" y="100" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>