Skip to content

Instantly share code, notes, and snippets.

@caponetto
Last active April 6, 2021 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caponetto/6904221ae759fe4d773bc1ab7b32d788 to your computer and use it in GitHub Desktop.
Save caponetto/6904221ae759fe4d773bc1ab7b32d788 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" xmlns:xsi="xsi" id="_HVcDMHkAEDmaOdXsmdaxQg" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd http://www.omg.org/spec/DD/20100524/DC DC.xsd http://www.omg.org/spec/DD/20100524/DI DI.xsd " exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
<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="_4F78EC03-004E-450B-8E60-13A1EB6469BA" sourceRef="_8FE9C9EA-AB94-4C85-BF14-620CEF17C5A9" targetRef="_DCCFF25E-3057-4A87-B393-8E68F98038E7"/>
<bpmn2:sequenceFlow id="_3E81EA46-DE95-4D78-B84D-E1A131F08AE6" sourceRef="_058C21DA-BADB-4208-ABA3-E1A848C77745" targetRef="_8FE9C9EA-AB94-4C85-BF14-620CEF17C5A9">
<bpmn2:extensionElements>
<drools:metaData name="isAutoConnection.source">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:task id="_8FE9C9EA-AB94-4C85-BF14-620CEF17C5A9" name="MTL">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[MTL]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:incoming>_3E81EA46-DE95-4D78-B84D-E1A131F08AE6</bpmn2:incoming>
<bpmn2:outgoing>_4F78EC03-004E-450B-8E60-13A1EB6469BA</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:endEvent id="_DCCFF25E-3057-4A87-B393-8E68F98038E7" name="stop">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[stop]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:incoming>_4F78EC03-004E-450B-8E60-13A1EB6469BA</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:startEvent id="_058C21DA-BADB-4208-ABA3-E1A848C77745" name="start">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[start]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:outgoing>_3E81EA46-DE95-4D78-B84D-E1A131F08AE6</bpmn2:outgoing>
</bpmn2:startEvent>
</bpmn2:process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="new_file">
<bpmndi:BPMNShape id="shape__058C21DA-BADB-4208-ABA3-E1A848C77745" bpmnElement="_058C21DA-BADB-4208-ABA3-E1A848C77745">
<dc:Bounds height="56" width="56" x="706" y="289"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__DCCFF25E-3057-4A87-B393-8E68F98038E7" bpmnElement="_DCCFF25E-3057-4A87-B393-8E68F98038E7">
<dc:Bounds height="56" width="56" x="987" y="289"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__8FE9C9EA-AB94-4C85-BF14-620CEF17C5A9" bpmnElement="_8FE9C9EA-AB94-4C85-BF14-620CEF17C5A9">
<dc:Bounds height="102" width="154" x="782" y="447"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="edge_shape__058C21DA-BADB-4208-ABA3-E1A848C77745_to_shape__8FE9C9EA-AB94-4C85-BF14-620CEF17C5A9" bpmnElement="_3E81EA46-DE95-4D78-B84D-E1A131F08AE6">
<di:waypoint x="762" y="317"/>
<di:waypoint x="782" y="498"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_shape__8FE9C9EA-AB94-4C85-BF14-620CEF17C5A9_to_shape__DCCFF25E-3057-4A87-B393-8E68F98038E7" bpmnElement="_4F78EC03-004E-450B-8E60-13A1EB6469BA">
<di:waypoint x="859" y="498"/>
<di:waypoint x="1015" y="317"/>
</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="_058C21DA-BADB-4208-ABA3-E1A848C77745">
<bpsim:TimeParameters>
<bpsim:ProcessingTime>
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters elementRef="_8FE9C9EA-AB94-4C85-BF14-620CEF17C5A9">
<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>_HVcDMHkAEDmaOdXsmdaxQg</bpmn2:source>
<bpmn2:target>_HVcDMHkAEDmaOdXsmdaxQg</bpmn2:target>
</bpmn2:relationship>
</bpmn2:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment