mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 13:48:10 +00:00
added process model to demonstrate postscript data issue w/ burnettk
This commit is contained in:
parent
a5ffb293a6
commit
d4cc9b375c
@ -0,0 +1,9 @@
|
||||
{
|
||||
"description": "",
|
||||
"display_name": "test-subproc-postscript-parallel-gateway",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "test-subproc-postscript-parallel-gateway.bpmn",
|
||||
"primary_process_id": "Process_test_merge_u5mavz4"
|
||||
}
|
@ -0,0 +1,220 @@
|
||||
<?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="Process_test_merge_u5mavz4" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0df8sbk" />
|
||||
<bpmn:endEvent id="EndEvent_1">
|
||||
<bpmn:incoming>Flow_11t1ctf</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_042zvc3" sourceRef="Activity_0df8sbk" targetRef="Gateway_05rqmll" />
|
||||
<bpmn:scriptTask id="Activity_0df8sbk">
|
||||
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_042zvc3</bpmn:outgoing>
|
||||
<bpmn:script>our_hash = {}</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:parallelGateway id="Gateway_05rqmll">
|
||||
<bpmn:incoming>Flow_042zvc3</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0bwlgpz</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0w7xicw</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0p6lb9m</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0jt8kje</bpmn:outgoing>
|
||||
</bpmn:parallelGateway>
|
||||
<bpmn:sequenceFlow id="Flow_11t1ctf" sourceRef="Gateway_0egbfmp" targetRef="EndEvent_1" />
|
||||
<bpmn:sequenceFlow id="Flow_0bwlgpz" sourceRef="Gateway_05rqmll" targetRef="Activity_0v0zbvh" />
|
||||
<bpmn:sequenceFlow id="Flow_0kjfb8n" sourceRef="Activity_0v0zbvh" targetRef="Gateway_0egbfmp" />
|
||||
<bpmn:scriptTask id="Activity_0v0zbvh" name="hey1">
|
||||
<bpmn:incoming>Flow_0bwlgpz</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0kjfb8n</bpmn:outgoing>
|
||||
<bpmn:script>our_hash['hey1'] = "YO1"</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_0w7xicw" sourceRef="Gateway_05rqmll" targetRef="Activity_0uhkwj9" />
|
||||
<bpmn:sequenceFlow id="Flow_1bq55n7" sourceRef="Activity_0uhkwj9" targetRef="Gateway_0egbfmp" />
|
||||
<bpmn:scriptTask id="Activity_0uhkwj9" name="hey2">
|
||||
<bpmn:incoming>Flow_0w7xicw</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1bq55n7</bpmn:outgoing>
|
||||
<bpmn:script>our_hash['hey2'] = "YO2"</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:subProcess id="Activity_0xyg5s0" name="hey3">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:postScript>our_hash['hey3post'] = "YO3post"</spiffworkflow:postScript>
|
||||
<spiffworkflow:preScript>our_hash['hey3pre'] = "YO3pre"</spiffworkflow:preScript>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0p6lb9m</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0jzhnls</bpmn:outgoing>
|
||||
<bpmn:startEvent id="Event_1mucpkl">
|
||||
<bpmn:outgoing>Flow_1irol51</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:endEvent id="Event_06h2igb">
|
||||
<bpmn:incoming>Flow_1um2a55</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0c1wjbp" sourceRef="Activity_0p2nwz1" targetRef="Activity_0wagou3" />
|
||||
<bpmn:sequenceFlow id="Flow_1irol51" sourceRef="Event_1mucpkl" targetRef="Activity_0p2nwz1" />
|
||||
<bpmn:scriptTask id="Activity_0p2nwz1">
|
||||
<bpmn:incoming>Flow_1irol51</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0c1wjbp</bpmn:outgoing>
|
||||
<bpmn:script>new_var = 'yay'
|
||||
our_hash['hey3inner'] = "YO3inner"</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_1um2a55" sourceRef="Activity_0wagou3" targetRef="Event_06h2igb" />
|
||||
<bpmn:serviceTask id="Activity_0wagou3">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="http/GetRequestV2" resultVariable="subproc_response">
|
||||
<spiffworkflow:parameters>
|
||||
<spiffworkflow:parameter id="url" type="str" value=""https://dev.app.spiff.status.im/api/v1.0/status"" />
|
||||
<spiffworkflow:parameter id="headers" type="any" />
|
||||
<spiffworkflow:parameter id="params" type="any" />
|
||||
<spiffworkflow:parameter id="basic_auth_username" type="str" />
|
||||
<spiffworkflow:parameter id="basic_auth_password" type="str" />
|
||||
<spiffworkflow:parameter id="attempts" type="int" />
|
||||
</spiffworkflow:parameters>
|
||||
</spiffworkflow:serviceTaskOperator>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0c1wjbp</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1um2a55</bpmn:outgoing>
|
||||
</bpmn:serviceTask>
|
||||
</bpmn:subProcess>
|
||||
<bpmn:sequenceFlow id="Flow_0p6lb9m" sourceRef="Gateway_05rqmll" targetRef="Activity_0xyg5s0" />
|
||||
<bpmn:sequenceFlow id="Flow_0jzhnls" sourceRef="Activity_0xyg5s0" targetRef="Gateway_0egbfmp" />
|
||||
<bpmn:sequenceFlow id="Flow_0jt8kje" sourceRef="Gateway_05rqmll" targetRef="Activity_07eg8ft" />
|
||||
<bpmn:sequenceFlow id="Flow_16ng8ie" sourceRef="Activity_07eg8ft" targetRef="Gateway_0egbfmp" />
|
||||
<bpmn:serviceTask id="Activity_07eg8ft" name="hey4">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:postScript>our_hash['hey4'] = "YO4"</spiffworkflow:postScript>
|
||||
<spiffworkflow:serviceTaskOperator id="http/GetRequestV2" resultVariable="the_response">
|
||||
<spiffworkflow:parameters>
|
||||
<spiffworkflow:parameter id="url" type="str" value=""https://dev.app.spiff.status.im/api/v1.0/status"" />
|
||||
<spiffworkflow:parameter id="headers" type="any" />
|
||||
<spiffworkflow:parameter id="params" type="any" />
|
||||
<spiffworkflow:parameter id="basic_auth_username" type="str" />
|
||||
<spiffworkflow:parameter id="basic_auth_password" type="str" />
|
||||
<spiffworkflow:parameter id="attempts" type="int" />
|
||||
</spiffworkflow:parameters>
|
||||
</spiffworkflow:serviceTaskOperator>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0jt8kje</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_16ng8ie</bpmn:outgoing>
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:exclusiveGateway id="Gateway_0egbfmp">
|
||||
<bpmn:incoming>Flow_0kjfb8n</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1bq55n7</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0jzhnls</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_16ng8ie</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_11t1ctf</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_test_merge_u5mavz4">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="-48" y="152" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||
<dc:Bounds x="472" y="152" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0mm4bkf_di" bpmnElement="Activity_0df8sbk">
|
||||
<dc:Bounds x="50" y="130" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_05hyktz_di" bpmnElement="Gateway_05rqmll">
|
||||
<dc:Bounds x="175" y="145" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0jcuh3l_di" bpmnElement="Activity_0v0zbvh">
|
||||
<dc:Bounds x="260" y="30" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0mauvs1_di" bpmnElement="Activity_0uhkwj9">
|
||||
<dc:Bounds x="260" y="130" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1cle4tc_di" bpmnElement="Activity_0xyg5s0">
|
||||
<dc:Bounds x="260" y="230" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_139c7s5_di" bpmnElement="Activity_07eg8ft">
|
||||
<dc:Bounds x="260" y="340" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1hy0xgp_di" bpmnElement="Gateway_0egbfmp" isMarkerVisible="true">
|
||||
<dc:Bounds x="385" y="145" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||
<di:waypoint x="-12" y="170" />
|
||||
<di:waypoint x="50" y="170" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_042zvc3_di" bpmnElement="Flow_042zvc3">
|
||||
<di:waypoint x="150" y="170" />
|
||||
<di:waypoint x="175" y="170" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_11t1ctf_di" bpmnElement="Flow_11t1ctf">
|
||||
<di:waypoint x="435" y="170" />
|
||||
<di:waypoint x="472" y="170" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0bwlgpz_di" bpmnElement="Flow_0bwlgpz">
|
||||
<di:waypoint x="200" y="145" />
|
||||
<di:waypoint x="200" y="70" />
|
||||
<di:waypoint x="260" y="70" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0kjfb8n_di" bpmnElement="Flow_0kjfb8n">
|
||||
<di:waypoint x="360" y="70" />
|
||||
<di:waypoint x="410" y="70" />
|
||||
<di:waypoint x="410" y="145" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0w7xicw_di" bpmnElement="Flow_0w7xicw">
|
||||
<di:waypoint x="225" y="170" />
|
||||
<di:waypoint x="260" y="170" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1bq55n7_di" bpmnElement="Flow_1bq55n7">
|
||||
<di:waypoint x="360" y="170" />
|
||||
<di:waypoint x="385" y="170" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0p6lb9m_di" bpmnElement="Flow_0p6lb9m">
|
||||
<di:waypoint x="200" y="195" />
|
||||
<di:waypoint x="200" y="270" />
|
||||
<di:waypoint x="260" y="270" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0jzhnls_di" bpmnElement="Flow_0jzhnls">
|
||||
<di:waypoint x="360" y="270" />
|
||||
<di:waypoint x="410" y="270" />
|
||||
<di:waypoint x="410" y="195" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0jt8kje_di" bpmnElement="Flow_0jt8kje">
|
||||
<di:waypoint x="200" y="195" />
|
||||
<di:waypoint x="200" y="380" />
|
||||
<di:waypoint x="260" y="380" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_16ng8ie_di" bpmnElement="Flow_16ng8ie">
|
||||
<di:waypoint x="360" y="380" />
|
||||
<di:waypoint x="410" y="380" />
|
||||
<di:waypoint x="410" y="195" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1jzi41f">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1ikwau4" bpmnElement="Activity_0xyg5s0">
|
||||
<bpmndi:BPMNShape id="Event_1mucpkl_di" bpmnElement="Event_1mucpkl">
|
||||
<dc:Bounds x="292" y="252" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_06h2igb_di" bpmnElement="Event_06h2igb">
|
||||
<dc:Bounds x="632" y="252" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0ps216m_di" bpmnElement="Activity_0p2nwz1">
|
||||
<dc:Bounds x="370" y="230" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_19f4fcs_di" bpmnElement="Activity_0wagou3">
|
||||
<dc:Bounds x="500" y="230" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0c1wjbp_di" bpmnElement="Flow_0c1wjbp">
|
||||
<di:waypoint x="470" y="270" />
|
||||
<di:waypoint x="500" y="270" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1irol51_di" bpmnElement="Flow_1irol51">
|
||||
<di:waypoint x="328" y="270" />
|
||||
<di:waypoint x="370" y="270" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1um2a55_di" bpmnElement="Flow_1um2a55">
|
||||
<di:waypoint x="600" y="270" />
|
||||
<di:waypoint x="632" y="270" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
Loading…
x
Reference in New Issue
Block a user