Skip to content

Instantly share code, notes, and snippets.

@domhanak
Last active August 12, 2020 08:00
Show Gist options
  • Save domhanak/5b238907dafbcab140de1d01e65b3ab6 to your computer and use it in GitHub Desktop.
Save domhanak/5b238907dafbcab140de1d01e65b3ab6 to your computer and use it in GitHub Desktop.
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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="_zaNeML6fEDiky7LEYrEKxw" exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
<bpmn2:itemDefinition id="_misterItem" structureRef="org.ujo.Bubak"/>
<bpmn2:itemDefinition id="__17E75972-131C-4DFF-8586-2A0C446489E8_rybaInputXItem" structureRef="com.myspace.Fish"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_SkippableInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_PriorityInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_CommentInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_DescriptionInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_CreatedByInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_TaskNameInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_GroupIdInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_ContentInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_NotStartedReassignInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_NotCompletedReassignInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_NotStartedNotifyInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_NotCompletedNotifyInputXItem" structureRef="Object"/>
<bpmn2:itemDefinition id="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_ZInputXItem" structureRef="com.myspace.Dog"/>
<bpmn2:process id="NoIdsInCertainElementscopy" drools:packageName="com.example" drools:version="1.0" drools:adHoc="false" name="NoIdsInCertainElements(copy)" isExecutable="true" processType="Public">
<bpmn2:extensionElements>
<drools:import/>
<drools:global identifier="Pet" type="org.ujo.santa"/>
</bpmn2:extensionElements>
<bpmn2:property id="mister" itemSubjectRef="_misterItem" name="mister"/>
<bpmn2:sequenceFlow id="_4837C799-8331-4320-A470-1660FC70712A" sourceRef="_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2" targetRef="_7A46C5AE-4E0C-43F0-8F6E-49EF56E69111">
<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="_D1BBD726-70C9-4A5B-9BFC-0FDC46DBB279" sourceRef="_3D298CC6-45E4-43ED-BA3C-3CC72EFFEEE0" targetRef="_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2"/>
<bpmn2:sequenceFlow id="_1D67C9E4-56D7-42DD-8C55-D330985211AB" sourceRef="_3D298CC6-45E4-43ED-BA3C-3CC72EFFEEE0" targetRef="_09453E5C-06C5-4B9C-A569-C254CD26CED1"/>
<bpmn2:sequenceFlow id="_88770EA6-72DE-4AF5-B728-4058235E1352" sourceRef="_17E75972-131C-4DFF-8586-2A0C446489E8" targetRef="_3D298CC6-45E4-43ED-BA3C-3CC72EFFEEE0"/>
<bpmn2:sequenceFlow id="_833E228F-35D0-4661-AA96-D3438A8B6F1F" sourceRef="_29A3998C-5024-4215-ABE9-61009931ECB7" targetRef="_17E75972-131C-4DFF-8586-2A0C446489E8">
<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="_7A46C5AE-4E0C-43F0-8F6E-49EF56E69111">
<bpmn2:incoming>_4837C799-8331-4320-A470-1660FC70712A</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:userTask id="_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2" name="Task">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[Task]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:incoming>_D1BBD726-70C9-4A5B-9BFC-0FDC46DBB279</bpmn2:incoming>
<bpmn2:outgoing>_4837C799-8331-4320-A470-1660FC70712A</bpmn2:outgoing>
<bpmn2:ioSpecification>
<bpmn2:dataInput id="_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_TaskNameInputX" drools:dtype="Object" itemSubjectRef="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_TaskNameInputXItem" name="TaskName"/>
<bpmn2:dataInput id="_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_ZInputX" drools:dtype="com.myspace.Dog" itemSubjectRef="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_ZInputXItem" name="Z"/>
<bpmn2:dataInput id="_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_SkippableInputX" drools:dtype="Object" itemSubjectRef="__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_SkippableInputXItem" name="Skippable"/>
<bpmn2:inputSet>
<bpmn2:dataInputRefs>_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_TaskNameInputX</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_ZInputX</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_SkippableInputX</bpmn2:dataInputRefs>
</bpmn2:inputSet>
</bpmn2:ioSpecification>
<bpmn2:dataInputAssociation>
<bpmn2:targetRef>_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_TaskNameInputX</bpmn2:targetRef>
<bpmn2:assignment>
<bpmn2:from xsi:type="bpmn2:tFormalExpression"><![CDATA[Task]]></bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression"><![CDATA[_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_TaskNameInputX]]></bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation>
<bpmn2:targetRef>_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_SkippableInputX</bpmn2:targetRef>
<bpmn2:assignment>
<bpmn2:from xsi:type="bpmn2:tFormalExpression"><![CDATA[false]]></bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression"><![CDATA[_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_SkippableInputX]]></bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
</bpmn2:userTask>
<bpmn2:endEvent id="_09453E5C-06C5-4B9C-A569-C254CD26CED1">
<bpmn2:incoming>_1D67C9E4-56D7-42DD-8C55-D330985211AB</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:parallelGateway id="_3D298CC6-45E4-43ED-BA3C-3CC72EFFEEE0" gatewayDirection="Diverging">
<bpmn2:incoming>_88770EA6-72DE-4AF5-B728-4058235E1352</bpmn2:incoming>
<bpmn2:outgoing>_1D67C9E4-56D7-42DD-8C55-D330985211AB</bpmn2:outgoing>
<bpmn2:outgoing>_D1BBD726-70C9-4A5B-9BFC-0FDC46DBB279</bpmn2:outgoing>
</bpmn2:parallelGateway>
<bpmn2:callActivity id="_17E75972-131C-4DFF-8586-2A0C446489E8" 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:incoming>_833E228F-35D0-4661-AA96-D3438A8B6F1F</bpmn2:incoming>
<bpmn2:outgoing>_88770EA6-72DE-4AF5-B728-4058235E1352</bpmn2:outgoing>
<bpmn2:ioSpecification>
<bpmn2:dataInput id="_17E75972-131C-4DFF-8586-2A0C446489E8_rybaInputX" drools:dtype="com.myspace.Fish" itemSubjectRef="__17E75972-131C-4DFF-8586-2A0C446489E8_rybaInputXItem" name="ryba"/>
<bpmn2:inputSet>
<bpmn2:dataInputRefs>_17E75972-131C-4DFF-8586-2A0C446489E8_rybaInputX</bpmn2:dataInputRefs>
</bpmn2:inputSet>
</bpmn2:ioSpecification>
<bpmn2:dataInputAssociation>
<bpmn2:sourceRef>mister</bpmn2:sourceRef>
<bpmn2:targetRef>_17E75972-131C-4DFF-8586-2A0C446489E8_rybaInputX</bpmn2:targetRef>
</bpmn2:dataInputAssociation>
</bpmn2:callActivity>
<bpmn2:startEvent id="_29A3998C-5024-4215-ABE9-61009931ECB7">
<bpmn2:outgoing>_833E228F-35D0-4661-AA96-D3438A8B6F1F</bpmn2:outgoing>
</bpmn2:startEvent>
</bpmn2:process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="NoIdsInCertainElementscopy">
<bpmndi:BPMNShape id="shape__29A3998C-5024-4215-ABE9-61009931ECB7" bpmnElement="_29A3998C-5024-4215-ABE9-61009931ECB7">
<dc:Bounds height="56" width="56" x="102" y="67"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__17E75972-131C-4DFF-8586-2A0C446489E8" bpmnElement="_17E75972-131C-4DFF-8586-2A0C446489E8">
<dc:Bounds height="101" width="153" x="238" y="44.5"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__3D298CC6-45E4-43ED-BA3C-3CC72EFFEEE0" bpmnElement="_3D298CC6-45E4-43ED-BA3C-3CC72EFFEEE0">
<dc:Bounds height="56" width="56" x="471" y="67"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__09453E5C-06C5-4B9C-A569-C254CD26CED1" bpmnElement="_09453E5C-06C5-4B9C-A569-C254CD26CED1">
<dc:Bounds height="56" width="56" x="607" y="67"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2" bpmnElement="_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2">
<dc:Bounds height="102" width="154" x="422" y="195"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__7A46C5AE-4E0C-43F0-8F6E-49EF56E69111" bpmnElement="_7A46C5AE-4E0C-43F0-8F6E-49EF56E69111">
<dc:Bounds height="56" width="56" x="656" y="218"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="edge_shape__29A3998C-5024-4215-ABE9-61009931ECB7_to_shape__17E75972-131C-4DFF-8586-2A0C446489E8" bpmnElement="_833E228F-35D0-4661-AA96-D3438A8B6F1F">
<di:waypoint x="158" y="95"/>
<di:waypoint x="238" y="95"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_shape__17E75972-131C-4DFF-8586-2A0C446489E8_to_shape__3D298CC6-45E4-43ED-BA3C-3CC72EFFEEE0" bpmnElement="_88770EA6-72DE-4AF5-B728-4058235E1352">
<di:waypoint x="391" y="95"/>
<di:waypoint x="471" y="95"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_shape__3D298CC6-45E4-43ED-BA3C-3CC72EFFEEE0_to_shape__09453E5C-06C5-4B9C-A569-C254CD26CED1" bpmnElement="_1D67C9E4-56D7-42DD-8C55-D330985211AB">
<di:waypoint x="527" y="95"/>
<di:waypoint x="607" y="95"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_shape__3D298CC6-45E4-43ED-BA3C-3CC72EFFEEE0_to_shape__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2" bpmnElement="_D1BBD726-70C9-4A5B-9BFC-0FDC46DBB279">
<di:waypoint x="499" y="123"/>
<di:waypoint x="499" y="195"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_shape__B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2_to_shape__7A46C5AE-4E0C-43F0-8F6E-49EF56E69111" bpmnElement="_4837C799-8331-4320-A470-1660FC70712A">
<di:waypoint x="576" y="246"/>
<di:waypoint x="656" y="246"/>
</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="_29A3998C-5024-4215-ABE9-61009931ECB7">
<bpsim:TimeParameters>
<bpsim:ProcessingTime>
<bpsim:NormalDistribution mean="0" standardDeviation="0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters elementRef="_17E75972-131C-4DFF-8586-2A0C446489E8">
<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="_B46EDFF7-18B3-4705-A06C-BFB96C8DA8D2">
<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>_zaNeML6fEDiky7LEYrEKxw</bpmn2:source>
<bpmn2:target>_zaNeML6fEDiky7LEYrEKxw</bpmn2:target>
</bpmn2:relationship>
</bpmn2:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment