Skip to content

Instantly share code, notes, and snippets.

Created June 3, 2013 13:30
Show Gist options
  • Save anonymous/5698141 to your computer and use it in GitHub Desktop.
Save anonymous/5698141 to your computer and use it in GitHub Desktop.
BPMN 2.0, created with Activiti Designer (eclipse plugin) 2 simple pools
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
<collaboration id="Collaboration">
<participant id="pool1" name="Pool" processRef="process_pool1"/>
<participant id="pool2" name="Pool" processRef="process_pool2"/>
</collaboration>
<process id="process_pool1" name="process_pool1" isExecutable="true">
<laneSet id="laneSet_process_pool1">
<lane id="lane1">
<flowNodeRef>startevent1</flowNodeRef>
<flowNodeRef>usertask1</flowNodeRef>
<flowNodeRef>endevent1</flowNodeRef>
</lane>
<lane id="lane2" name="New lane"/>
</laneSet>
<startEvent id="startevent1" name="Start"/>
<userTask id="usertask1" name="User Task"/>
<endEvent id="endevent1" name="End"/>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="usertask1"/>
<sequenceFlow id="flow2" sourceRef="usertask1" targetRef="endevent1"/>
</process>
<process id="process_pool2" name="process_pool2" isExecutable="true">
<laneSet id="laneSet_process_pool2">
<lane id="lane3"/>
</laneSet>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_Collaboration">
<bpmndi:BPMNPlane bpmnElement="Collaboration" id="BPMNPlane_Collaboration">
<bpmndi:BPMNShape bpmnElement="pool1" id="BPMNShape_pool1">
<omgdc:Bounds height="300.0" width="500.0" x="290.0" y="300.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="lane1" id="BPMNShape_lane1">
<omgdc:Bounds height="150.0" width="480.0" x="310.0" y="300.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="lane2" id="BPMNShape_lane2">
<omgdc:Bounds height="150.0" width="480.0" x="310.0" y="450.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="pool2" id="BPMNShape_pool2">
<omgdc:Bounds height="150.0" width="500.0" x="290.0" y="60.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="lane3" id="BPMNShape_lane3">
<omgdc:Bounds height="150.0" width="480.0" x="310.0" y="60.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
<omgdc:Bounds height="35.0" width="35.0" x="340.0" y="350.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
<omgdc:Bounds height="55.0" width="105.0" x="480.0" y="340.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
<omgdc:Bounds height="35.0" width="35.0" x="710.0" y="350.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
<omgdi:waypoint x="375.0" y="367.0"/>
<omgdi:waypoint x="480.0" y="367.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
<omgdi:waypoint x="585.0" y="367.0"/>
<omgdi:waypoint x="710.0" y="367.0"/>
</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