Skip to content

Instantly share code, notes, and snippets.

@akoskm
Created July 1, 2015 13:02
Show Gist options
  • Save akoskm/d9063d7893580eb8816d to your computer and use it in GitHub Desktop.
Save akoskm/d9063d7893580eb8816d to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="Definition"
targetNamespace="http://www.jboss.org/drools"
typeLanguage="http://www.java.com/javaTypes"
expressionLanguage="http://www.mvel.org/2.0"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
xmlns:g="http://www.jboss.org/drools/flow/gpd"
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:tns="http://www.jboss.org/drools">
<!-- item definitions -->
<process processType="Private"
isExecutable="true"
id="ht.test.main"
name="Sample"
tns:packageName="defaultPackage" >
<!-- properties -->
<!-- nodes -->
<startEvent id="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538" name="Start" ></startEvent>
<endEvent id="_e8e06a0d-5fa7-e0ef-1b02-64be4512b573" name="End" >
<terminateEventDefinition ></terminateEventDefinition>
</endEvent>
<userTask id="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7" name="User Task">
<ioSpecification>
<dataInput id="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7_FormNameInput" name="FormName" ></dataInput>
<inputSet>
<dataInputRefs>_a584708e-5e8d-4d8d-fa99-99133d1bcdb7_FormNameInput</dataInputRefs>
</inputSet>
<outputSet>
</outputSet>
</ioSpecification>
<dataInputAssociation>
<targetRef>_a584708e-5e8d-4d8d-fa99-99133d1bcdb7_FormNameInput</targetRef>
<assignment>
<from xsi:type="tFormalExpression">test</from>
<to xsi:type="tFormalExpression">_a584708e-5e8d-4d8d-fa99-99133d1bcdb7_FormNameInput</to>
</assignment>
</dataInputAssociation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>admin</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<callActivity id="_34eac72f-7ec0-2d4c-6187-de7882649c2c" name="Sub-Process" calledElement="ht.test.sub" tns:independent="false">
<ioSpecification>
<inputSet>
</inputSet>
<outputSet>
</outputSet>
</ioSpecification>
</callActivity>
<!-- connections -->
<sequenceFlow id="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538__a584708e-5e8d-4d8d-fa99-99133d1bcdb7" sourceRef="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538" targetRef="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7" name="" ></sequenceFlow>
<sequenceFlow id="_34eac72f-7ec0-2d4c-6187-de7882649c2c__e8e06a0d-5fa7-e0ef-1b02-64be4512b573" sourceRef="_34eac72f-7ec0-2d4c-6187-de7882649c2c" targetRef="_e8e06a0d-5fa7-e0ef-1b02-64be4512b573" name="" ></sequenceFlow>
<sequenceFlow id="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7__34eac72f-7ec0-2d4c-6187-de7882649c2c" sourceRef="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7" targetRef="_34eac72f-7ec0-2d4c-6187-de7882649c2c" name="" ></sequenceFlow>
</process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="ht.test.main" >
<bpmndi:BPMNShape bpmnElement="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538">
<dc:Bounds x="225" y="105" width="44" height="44" ></dc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_e8e06a0d-5fa7-e0ef-1b02-64be4512b573">
<dc:Bounds x="990" y="105" width="44" height="44" ></dc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7">
<dc:Bounds x="420" y="105" width="101.4375" height="44" ></dc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_34eac72f-7ec0-2d4c-6187-de7882649c2c">
<dc:Bounds x="705" y="105" width="120.09375" height="44" ></dc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538__a584708e-5e8d-4d8d-fa99-99133d1bcdb7" >
<di:waypoint x="44" y="22" ></di:waypoint>
<di:waypoint x="0" y="22" ></di:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_34eac72f-7ec0-2d4c-6187-de7882649c2c__e8e06a0d-5fa7-e0ef-1b02-64be4512b573" >
<di:waypoint x="120.09375" y="22" ></di:waypoint>
<di:waypoint x="0" y="22" ></di:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7__34eac72f-7ec0-2d4c-6187-de7882649c2c" >
<di:waypoint x="101.4375" y="22" ></di:waypoint>
<di:waypoint x="0" y="22" ></di:waypoint>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="Definition"
targetNamespace="http://www.jboss.org/drools"
typeLanguage="http://www.java.com/javaTypes"
expressionLanguage="http://www.mvel.org/2.0"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
xmlns:g="http://www.jboss.org/drools/flow/gpd"
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:tns="http://www.jboss.org/drools">
<!-- item definitions -->
<process processType="Private"
isExecutable="true"
id="ht.test.sub"
name="Sample"
tns:packageName="defaultPackage" >
<!-- properties -->
<!-- nodes -->
<startEvent id="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538" name="Start" ></startEvent>
<endEvent id="_e8e06a0d-5fa7-e0ef-1b02-64be4512b573" name="End" >
<terminateEventDefinition ></terminateEventDefinition>
</endEvent>
<userTask id="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7" name="User Task">
<ioSpecification>
<dataInput id="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7_FormNameInput" name="FormName" ></dataInput>
<inputSet>
<dataInputRefs>_a584708e-5e8d-4d8d-fa99-99133d1bcdb7_FormNameInput</dataInputRefs>
</inputSet>
<outputSet>
</outputSet>
</ioSpecification>
<dataInputAssociation>
<targetRef>_a584708e-5e8d-4d8d-fa99-99133d1bcdb7_FormNameInput</targetRef>
<assignment>
<from xsi:type="tFormalExpression">test</from>
<to xsi:type="tFormalExpression">_a584708e-5e8d-4d8d-fa99-99133d1bcdb7_FormNameInput</to>
</assignment>
</dataInputAssociation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>admin</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<!-- connections -->
<sequenceFlow id="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538__a584708e-5e8d-4d8d-fa99-99133d1bcdb7" sourceRef="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538" targetRef="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7" name="" ></sequenceFlow>
<sequenceFlow id="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7__e8e06a0d-5fa7-e0ef-1b02-64be4512b573" sourceRef="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7" targetRef="_e8e06a0d-5fa7-e0ef-1b02-64be4512b573" name="" ></sequenceFlow>
</process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="ht.test.sub" >
<bpmndi:BPMNShape bpmnElement="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538">
<dc:Bounds x="225" y="105" width="44" height="44" ></dc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_e8e06a0d-5fa7-e0ef-1b02-64be4512b573">
<dc:Bounds x="765" y="105" width="44" height="44" ></dc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7">
<dc:Bounds x="465" y="105" width="101.4375" height="44" ></dc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="_8a0a4cd7-f45c-3cab-16b4-0a09cc1da538__a584708e-5e8d-4d8d-fa99-99133d1bcdb7" >
<di:waypoint x="44" y="22" ></di:waypoint>
<di:waypoint x="0" y="22" ></di:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_a584708e-5e8d-4d8d-fa99-99133d1bcdb7__e8e06a0d-5fa7-e0ef-1b02-64be4512b573" >
<di:waypoint x="101.4375" y="22" ></di:waypoint>
<di:waypoint x="0" y="22" ></di:waypoint>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment