Skip to content

Instantly share code, notes, and snippets.

@ederign
Last active November 9, 2020 13:19
Show Gist options
  • Save ederign/cae60212da6c12058b58b3fec212ebaa to your computer and use it in GitHub Desktop.
Save ederign/cae60212da6c12058b58b3fec212ebaa 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:drools="http://www.jboss.org/drools" id="_HB8_QAS8EDmBNY3pAA8Yug" 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:task id="_535DF22F-07DF-4A91-85E9-8A79929298EC" name="Task">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[Task]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
</bpmn2:task>
<bpmn2:callActivity id="_2787E827-5526-4C0E-8ED0-93D46BFDA42E" drools:independent="false" drools:waitForCompletion="true" name="Sub-process" calledElement="">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[Sub-process]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
</bpmn2:callActivity>
<bpmn2:endEvent id="_C00716AC-4219-46F8-B47C-75B5AEE82773"/>
<bpmn2:startEvent id="_5AF7C200-C953-4290-A284-366599CB8B57"/>
</bpmn2:process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="new-file">
<bpmndi:BPMNShape id="shape__5AF7C200-C953-4290-A284-366599CB8B57" bpmnElement="_5AF7C200-C953-4290-A284-366599CB8B57">
<dc:Bounds height="56" width="56" x="388" y="237"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__C00716AC-4219-46F8-B47C-75B5AEE82773" bpmnElement="_C00716AC-4219-46F8-B47C-75B5AEE82773">
<dc:Bounds height="56" width="56" x="467" y="502"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__2787E827-5526-4C0E-8ED0-93D46BFDA42E" bpmnElement="_2787E827-5526-4C0E-8ED0-93D46BFDA42E">
<dc:Bounds height="101" width="153" x="461" y="360"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__535DF22F-07DF-4A91-85E9-8A79929298EC" bpmnElement="_535DF22F-07DF-4A91-85E9-8A79929298EC">
<dc:Bounds height="102" width="154" x="581" y="180"/>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmn2:relationship type="BPSimData">
<bpmn2:extensionElements>
<bpsim:BPSimData>
<bpsim:Scenario id="default" name="Simulationscenario">
<bpsim:ScenarioParameters/>
<bpsim:ElementParameters elementRef="_5AF7C200-C953-4290-A284-366599CB8B57">
<bpsim:TimeParameters>
<bpsim:ProcessingTime>
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters elementRef="_2787E827-5526-4C0E-8ED0-93D46BFDA42E">
<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="_535DF22F-07DF-4A91-85E9-8A79929298EC">
<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>_HB8_QAS8EDmBNY3pAA8Yug</bpmn2:source>
<bpmn2:target>_HB8_QAS8EDmBNY3pAA8Yug</bpmn2:target>
</bpmn2:relationship>
</bpmn2:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment