Not logged in - Login
View History

Export swimlane as BPMN diagram

DCR Graphs 1.3+ support exporting simulations as a BPMN swimlane.

Export Swimlane as BPMN
During a simulation you can export the simulation as a BPMN diagram by click on the icon marked above.

Unfortunately many BPMN tools use custom non-standard BPMN to draw swimlanes to import sometimes fails as the tools does not adhere to the BPMN standard. Feel free to contact us if you have questions or comments as we would like to support non-BPMN standard in order to facilitate interoperability between tools.

An example of the BPMN diagram is shown below:

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/BPMNDI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:g="http://www.jboss.org/drools/flow/gpd" xmlns:tns="http://www.example.org/MinimalExample" id="Definition" targetNamespace="http://www.example.org/MinimalExample" expressionLanguage="http://www.mvel.org/2.0" typeLanguage="http://www.java.com/javaTypes" xs:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
       <collaboration id="Collaboration">
              <participant id="Participant" name="BPM 2015 Industry paper BRF Example" processRef="Composite" />
       </collaboration>
       <process id="Composite" name="BPM 2015 Industry paper BRF Example">
              <laneSet>
                     <lane id="66fccc96-60d5-4efa-991b-50be34647ba5" name="Sales,IT A">
                            <flowNodeRef>_0</flowNodeRef>
                            <flowNodeRef>_1</flowNodeRef>
                            <flowNodeRef>_2</flowNodeRef>
                     </lane>
                     <lane id="fb6cd17b-97e6-4299-8986-98c962012b0c" name="Client">
                            <flowNodeRef>_3</flowNodeRef>
                     </lane>
                     <lane id="97ee11f7-973b-4eb9-a2ce-63418ce3fa45" name="Intern,IT B">
                            <flowNodeRef>_4</flowNodeRef>
                            <flowNodeRef>_5</flowNodeRef>
                     </lane>
              </laneSet>
              <sequenceFlow id="_0-_1" sourceRef="_0" targetRef="_1" />
              <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
              <sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" />
              <sequenceFlow id="_3-_4" sourceRef="_3" targetRef="_4" />
              <sequenceFlow id="_4-_5" sourceRef="_4" targetRef="_5" />
              <startEvent id="_0" name="StartProcess">
                     <outgoing>_0-_1</outgoing>
              </startEvent>
              <task id="_1" name="Collect documents" >
                     <incoming>_0-_1</incoming>
                     <outgoing>_1-_2</outgoing>
              </task>
              <task id="_2" name="Statistic appraisal" >
                     <incoming>_1-_2</incoming>
                     <outgoing>_2-_3</outgoing>
              </task>
              <task id="_3" name="Submit budget" >
                     <incoming>_2-_3</incoming>
                     <outgoing>_3-_4</outgoing>
              </task>
              <task id="_4" name="Approve budget" >
                     <incoming>_3-_4</incoming>
                     <outgoing>_4-_5</outgoing>
              </task>
              <endEvent id="_5" name="EndProcess">
                     <incoming>_4-_5</incoming>
                     <terminateEventDefinition />
              </endEvent>
       </process>
       <bpmndi:BPMNDiagram id="MinimalDiagram">
              <bpmndi:BPMNPlane bpmnElement="Collaboration">
                     <bpmndi:BPMNShape id="Participant_di" bpmnElement="Participant">
                            <dc:Bounds x="0" y="0" width="1011" height="300" />
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNShape id="66fccc96-60d5-4efa-991b-50be34647ba5_di" bpmnElement="66fccc96-60d5-4efa-991b-50be34647ba5">
                            <dc:Bounds x="30" y="0" width="981" height="100" />
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNShape id="fb6cd17b-97e6-4299-8986-98c962012b0c_di" bpmnElement="fb6cd17b-97e6-4299-8986-98c962012b0c">
                            <dc:Bounds x="30" y="100" width="981" height="100" />
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNShape id="97ee11f7-973b-4eb9-a2ce-63418ce3fa45_di" bpmnElement="97ee11f7-973b-4eb9-a2ce-63418ce3fa45">
                            <dc:Bounds x="30" y="200" width="981" height="100" />
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNShape id="_0_di" bpmnElement="_0">
                            <dc:Bounds x="100" y="25" width="36" height="36" />
                            <bpmndi:BPMNLabel>
                                   <dc:Bounds x="100" y="61" width="36" height="36" />
                            </bpmndi:BPMNLabel>
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNShape id="_1_di" bpmnElement="_1">
                            <dc:Bounds x="200" y="25" width="100" height="50" />
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNShape id="_2_di" bpmnElement="_2">
                            <dc:Bounds x="380" y="25" width="100" height="50" />
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNShape id="_3_di" bpmnElement="_3">
                            <dc:Bounds x="560" y="125" width="100" height="50" />
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNShape id="_4_di" bpmnElement="_4">
                            <dc:Bounds x="740" y="225" width="100" height="50" />
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNShape id="_5_di" bpmnElement="_5">
                            <dc:Bounds x="920" y="225" width="36" height="36" />
                            <bpmndi:BPMNLabel>
                                   <dc:Bounds x="920" y="261" width="36" height="36" />
                            </bpmndi:BPMNLabel>
                     </bpmndi:BPMNShape>
                     <bpmndi:BPMNEdge id="_0-_1_di" bpmnElement="_0-_1">
                            <di:waypoint xs:type="dc:Point" x="136" y="43" />
                            <di:waypoint xs:type="dc:Point" x="168" y="50" />
                            <di:waypoint xs:type="dc:Point" x="200" y="50" />
                            <bpmndi:BPMNLabel>
                                   <dc:Bounds x="168" y="43" width="0" height="0" />
                            </bpmndi:BPMNLabel>
                     </bpmndi:BPMNEdge>
                     <bpmndi:BPMNEdge id="_1-_2_di" bpmnElement="_1-_2">
                            <di:waypoint xs:type="dc:Point" x="300" y="50" />
                            <di:waypoint xs:type="dc:Point" x="340" y="50" />
                            <di:waypoint xs:type="dc:Point" x="380" y="50" />
                            <bpmndi:BPMNLabel>
                                   <dc:Bounds x="340" y="50" width="0" height="0" />
                            </bpmndi:BPMNLabel>
                     </bpmndi:BPMNEdge>
                     <bpmndi:BPMNEdge id="_2-_3_di" bpmnElement="_2-_3">
                            <di:waypoint xs:type="dc:Point" x="430" y="75" />
                            <di:waypoint xs:type="dc:Point" x="430" y="150" />
                            <di:waypoint xs:type="dc:Point" x="560" y="150" />
                            <bpmndi:BPMNLabel>
                                   <dc:Bounds x="430" y="75" width="0" height="0" />
                            </bpmndi:BPMNLabel>
                     </bpmndi:BPMNEdge>
                     <bpmndi:BPMNEdge id="_3-_4_di" bpmnElement="_3-_4">
                            <di:waypoint xs:type="dc:Point" x="610" y="175" />
                            <di:waypoint xs:type="dc:Point" x="610" y="250" />
                            <di:waypoint xs:type="dc:Point" x="740" y="250" />
                            <bpmndi:BPMNLabel>
                                   <dc:Bounds x="610" y="175" width="0" height="0" />
                            </bpmndi:BPMNLabel>
                     </bpmndi:BPMNEdge>
                     <bpmndi:BPMNEdge id="_4-_5_di" bpmnElement="_4-_5">
                            <di:waypoint xs:type="dc:Point" x="840" y="250" />
                            <di:waypoint xs:type="dc:Point" x="880" y="243" />
                            <di:waypoint xs:type="dc:Point" x="920" y="243" />
                            <bpmndi:BPMNLabel>
                                   <dc:Bounds x="880" y="250" width="0" height="0" />
                            </bpmndi:BPMNLabel>
                     </bpmndi:BPMNEdge>
              </bpmndi:BPMNPlane>
       </bpmndi:BPMNDiagram>
</definitions>