Skip to content

Instantly share code, notes, and snippets.

@rbaumgar
Created October 13, 2020 16:13
Show Gist options
  • Save rbaumgar/5981b7293c34214d7427071103e2c6ac to your computer and use it in GitHub Desktop.
Save rbaumgar/5981b7293c34214d7427071103e2c6ac to your computer and use it in GitHub Desktop.
new-file.bpmn
<bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" id="___KP4O-cEDiEb-Kc6QaapA" exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
<bpmn2:interface id="_395182CF-A14C-48C0-AB27-F16AB53CBBFB_ServiceInterface" name="" implementationRef="">
<bpmn2:operation id="_395182CF-A14C-48C0-AB27-F16AB53CBBFB_ServiceOperation" name="" implementationRef=""/>
</bpmn2:interface>
<bpmn2:process id="new-file" drools:packageName="com.example" drools:version="1.0" drools:adHoc="false" name="new-file" isExecutable="true" processType="Public">
<bpmn2:sequenceFlow id="_1287F240-2B21-45E3-B19B-6059D6D27512" sourceRef="_395182CF-A14C-48C0-AB27-F16AB53CBBFB" targetRef="_40B82019-DA2A-4B6E-B905-DE82F6772CEA">
<bpmn2:extensionElements>
<drools:metaData name="isAutoConnection.source">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
<drools:metaData name="isAutoConnection.target">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="_A0AFECBA-D5AC-460D-9519-1973302DC05A" sourceRef="_C13BA5FA-E4A0-40C3-9DC8-F7F16079DD68" targetRef="_395182CF-A14C-48C0-AB27-F16AB53CBBFB">
<bpmn2:extensionElements>
<drools:metaData name="isAutoConnection.source">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
<drools:metaData name="isAutoConnection.target">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="_F18A8AD7-DFB2-43A7-8DB0-D76512AEF087" sourceRef="_B3DC436E-CEB8-4CFD-84A7-058A32D800A0" targetRef="_C13BA5FA-E4A0-40C3-9DC8-F7F16079DD68">
<bpmn2:extensionElements>
<drools:metaData name="isAutoConnection.source">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
<drools:metaData name="isAutoConnection.target">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:endEvent id="_40B82019-DA2A-4B6E-B905-DE82F6772CEA">
<bpmn2:incoming>_1287F240-2B21-45E3-B19B-6059D6D27512</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:serviceTask id="_395182CF-A14C-48C0-AB27-F16AB53CBBFB" drools:serviceimplementation="Java" drools:serviceinterface="" drools:serviceoperation="" name="World" implementation="Java" operationRef="_395182CF-A14C-48C0-AB27-F16AB53CBBFB_ServiceOperation">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[World]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:incoming>_A0AFECBA-D5AC-460D-9519-1973302DC05A</bpmn2:incoming>
<bpmn2:outgoing>_1287F240-2B21-45E3-B19B-6059D6D27512</bpmn2:outgoing>
</bpmn2:serviceTask>
<bpmn2:scriptTask id="_C13BA5FA-E4A0-40C3-9DC8-F7F16079DD68" name="Say Hello" scriptFormat="http://www.java.com/java">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[Say Hello]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:incoming>_F18A8AD7-DFB2-43A7-8DB0-D76512AEF087</bpmn2:incoming>
<bpmn2:outgoing>_A0AFECBA-D5AC-460D-9519-1973302DC05A</bpmn2:outgoing>
</bpmn2:scriptTask>
<bpmn2:startEvent id="_B3DC436E-CEB8-4CFD-84A7-058A32D800A0">
<bpmn2:outgoing>_F18A8AD7-DFB2-43A7-8DB0-D76512AEF087</bpmn2:outgoing>
</bpmn2:startEvent>
</bpmn2:process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="new-file">
<bpmndi:BPMNShape id="shape__B3DC436E-CEB8-4CFD-84A7-058A32D800A0" bpmnElement="_B3DC436E-CEB8-4CFD-84A7-058A32D800A0">
<dc:Bounds height="56" width="56" x="233" y="164"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__C13BA5FA-E4A0-40C3-9DC8-F7F16079DD68" bpmnElement="_C13BA5FA-E4A0-40C3-9DC8-F7F16079DD68">
<dc:Bounds height="102" width="154" x="369" y="141"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__395182CF-A14C-48C0-AB27-F16AB53CBBFB" bpmnElement="_395182CF-A14C-48C0-AB27-F16AB53CBBFB">
<dc:Bounds height="102" width="154" x="603" y="141"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__40B82019-DA2A-4B6E-B905-DE82F6772CEA" bpmnElement="_40B82019-DA2A-4B6E-B905-DE82F6772CEA">
<dc:Bounds height="56" width="56" x="837" y="164"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="edge_shape__B3DC436E-CEB8-4CFD-84A7-058A32D800A0_to_shape__C13BA5FA-E4A0-40C3-9DC8-F7F16079DD68" bpmnElement="_F18A8AD7-DFB2-43A7-8DB0-D76512AEF087">
<di:waypoint x="289" y="192"/>
<di:waypoint x="369" y="192"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_shape__C13BA5FA-E4A0-40C3-9DC8-F7F16079DD68_to_shape__395182CF-A14C-48C0-AB27-F16AB53CBBFB" bpmnElement="_A0AFECBA-D5AC-460D-9519-1973302DC05A">
<di:waypoint x="523" y="192"/>
<di:waypoint x="603" y="192"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_shape__395182CF-A14C-48C0-AB27-F16AB53CBBFB_to_shape__40B82019-DA2A-4B6E-B905-DE82F6772CEA" bpmnElement="_1287F240-2B21-45E3-B19B-6059D6D27512">
<di:waypoint x="757" y="192"/>
<di:waypoint x="837" y="192"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmn2:relationship type="BPSimData">
<bpmn2:extensionElements>
<bpsim:BPSimData>
<bpsim:Scenario id="default" name="Simulationscenario">
<bpsim:ScenarioParameters/>
<bpsim:ElementParameters elementRef="_B3DC436E-CEB8-4CFD-84A7-058A32D800A0">
<bpsim:TimeParameters>
<bpsim:ProcessingTime>
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters elementRef="_C13BA5FA-E4A0-40C3-9DC8-F7F16079DD68">
<bpsim:TimeParameters>
<bpsim:ProcessingTime>
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
<bpsim:ResourceParameters>
<bpsim:Availability>
<bpsim:FloatingParameter value="0"/>
</bpsim:Availability>
<bpsim:Quantity>
<bpsim:FloatingParameter value="0"/>
</bpsim:Quantity>
</bpsim:ResourceParameters>
<bpsim:CostParameters>
<bpsim:UnitCost>
<bpsim:FloatingParameter value="0"/>
</bpsim:UnitCost>
</bpsim:CostParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters elementRef="_395182CF-A14C-48C0-AB27-F16AB53CBBFB">
<bpsim:TimeParameters>
<bpsim:ProcessingTime>
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
<bpsim:ResourceParameters>
<bpsim:Availability>
<bpsim:FloatingParameter value="0"/>
</bpsim:Availability>
<bpsim:Quantity>
<bpsim:FloatingParameter value="0"/>
</bpsim:Quantity>
</bpsim:ResourceParameters>
<bpsim:CostParameters>
<bpsim:UnitCost>
<bpsim:FloatingParameter value="0"/>
</bpsim:UnitCost>
</bpsim:CostParameters>
</bpsim:ElementParameters>
</bpsim:Scenario>
</bpsim:BPSimData>
</bpmn2:extensionElements>
<bpmn2:source>___KP4O-cEDiEb-Kc6QaapA</bpmn2:source>
<bpmn2:target>___KP4O-cEDiEb-Kc6QaapA</bpmn2:target>
</bpmn2:relationship>
</bpmn2:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment