# Elements missing from imported file

**URL:** <https://forum.flowable.org/t/elements-missing-from-imported-file/7133>\
**Category:** Flowable Application\
**Created:** [November 26, 2020, 3:30pm UTC](https://forum.flowable.org/t/elements-missing-from-imported-file/7133 "2020-11-26T15:30:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DarkStar1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/darkstar1/32/394_2.png) [@DarkStar1](https://forum.flowable.org/u/DarkStar1)\
**Post date:** [November 26, 2020, 3:30pm UTC](https://forum.flowable.org/t/elements-missing-from-imported-file/7133/1 "2020-11-26T15:30:29Z")

</div>

If I create a model using a pool and swimlanes to this effect:

 ![test_model](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/c/cc6fd7a68806c4ac9e9e63ae8ade634bee55ab45.png)

All elements outside of the pool/swimlane(s), **with exception of the sequence flows** are ignored in the resulting BPMN exported file.  
You can see this in the modeler rendered preview as such:

 ![test_model_view](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/6/6cafc76f1023a1dcd35c3159cb078ae7ddc55754.png)

The resulting xml (Only the process element is included for brevity):

```
    <process id="process" isExecutable="true">
        <laneSet id="laneSet_process">
            <lane id="sid-533F7CB4-D37E-47F9-BDA0-6E3A94FE7E42">
                <flowNodeRef>startEvent1</flowNodeRef>
                <flowNodeRef>sid-26B27446-3DB7-4207-BF66-21E8D590F894</flowNodeRef>
                <flowNodeRef>sid-9C3F6414-B845-480D-82EE-C8E41D002D08</flowNodeRef>
                <flowNodeRef>sid-8CF27992-0696-48E6-A985-9B2A6D4D0646</flowNodeRef>
                <flowNodeRef>sid-2602F488-2FF0-4D43-8177-21B6C65E1774</flowNodeRef>
                <flowNodeRef>sid-45A116F7-25D6-490E-9E3D-CB6FACF2214D</flowNodeRef>
            </lane>
            <lane id="sid-9ACE34E0-CD54-44DC-8EDA-68CFC6A3F71A">
                <flowNodeRef>sid-1ABD315A-FBF4-4062-BFDD-C54FD570EB84</flowNodeRef>
                <flowNodeRef>sid-9E4F0F3C-F9E9-40B5-98C8-FE797AADCD5E</flowNodeRef>
                <flowNodeRef>sid-5A2DB0C8-27DB-4898-97B3-971DB2911450</flowNodeRef>
                <flowNodeRef>sid-CC7D4F9F-0615-47C7-AF43-83B3B60485D8</flowNodeRef>
                <flowNodeRef>sid-B45EBE05-2520-404A-B74F-F1754CF5A5B2</flowNodeRef>
            </lane>
        </laneSet>
        <startEvent id="startEvent1" flowable:formFieldValidation="true"/>
        <userTask id="sid-26B27446-3DB7-4207-BF66-21E8D590F894" flowable:formFieldValidation="true"/>
        <userTask id="sid-1ABD315A-FBF4-4062-BFDD-C54FD570EB84" flowable:formFieldValidation="true"/>
        <userTask id="sid-5A2DB0C8-27DB-4898-97B3-971DB2911450" flowable:formFieldValidation="true"/>
        <exclusiveGateway id="sid-9E4F0F3C-F9E9-40B5-98C8-FE797AADCD5E"/>
        <exclusiveGateway id="sid-9C3F6414-B845-480D-82EE-C8E41D002D08"/>

        <sequenceFlow id="sid-8CF27992-0696-48E6-A985-9B2A6D4D0646" sourceRef="startEvent1"
                      targetRef="sid-26B27446-3DB7-4207-BF66-21E8D590F894"/>
        <sequenceFlow id="sid-2602F488-2FF0-4D43-8177-21B6C65E1774" sourceRef="sid-26B27446-3DB7-4207-BF66-21E8D590F894"
                      targetRef="sid-9C3F6414-B845-480D-82EE-C8E41D002D08"/>
        <sequenceFlow id="sid-45A116F7-25D6-490E-9E3D-CB6FACF2214D" sourceRef="sid-9C3F6414-B845-480D-82EE-C8E41D002D08"
                      targetRef="sid-611E2C4F-AEB6-4743-B888-07785972AAFB"/>
        <sequenceFlow id="sid-B75E163A-F963-44BB-888C-C6E587E1952E" sourceRef="sid-611E2C4F-AEB6-4743-B888-07785972AAFB"
                      targetRef="sid-62789F79-87D8-4317-8F83-94C614DD7FB5">
            <extensionElements>
                <EDITOR_RESOURCEID><![CDATA[sid-B75E163A-F963-44BB-888C-C6E587E1952E]]></EDITOR_RESOURCEID>
            </extensionElements>
        </sequenceFlow>
        <sequenceFlow id="sid-A0A6A9F7-A771-49AE-827D-098C34A2AD4E" sourceRef="sid-62789F79-87D8-4317-8F83-94C614DD7FB5"
                      targetRef="sid-3D6870A2-5C92-43BE-BB4D-4AF412C0B7B5">
            <extensionElements>
                <EDITOR_RESOURCEID><![CDATA[sid-A0A6A9F7-A771-49AE-827D-098C34A2AD4E]]></EDITOR_RESOURCEID>
            </extensionElements>
        </sequenceFlow>
        <sequenceFlow id="sid-3D606C4C-3188-4209-8661-4191304157EC" sourceRef="sid-3D6870A2-5C92-43BE-BB4D-4AF412C0B7B5"
                      targetRef="sid-F9DB0631-D1C7-4987-96A4-3FDBB4874799">
            <extensionElements>
                <EDITOR_RESOURCEID><![CDATA[sid-3D606C4C-3188-4209-8661-4191304157EC]]></EDITOR_RESOURCEID>
            </extensionElements>
        </sequenceFlow>
        <sequenceFlow id="sid-04DC5C03-E234-4038-A041-F5DA9E2EC139" sourceRef="sid-F9DB0631-D1C7-4987-96A4-3FDBB4874799"
                      targetRef="sid-7A4017A6-9114-4C68-8C9C-DF1FDD32D9C3">
            <extensionElements>
                <EDITOR_RESOURCEID><![CDATA[sid-04DC5C03-E234-4038-A041-F5DA9E2EC139]]></EDITOR_RESOURCEID>
            </extensionElements>
        </sequenceFlow>
        <sequenceFlow id="sid-558DAB9E-4264-44DA-9F08-02B433A0E0CF" sourceRef="sid-7A4017A6-9114-4C68-8C9C-DF1FDD32D9C3"
                      targetRef="sid-1ABD315A-FBF4-4062-BFDD-C54FD570EB84">
            <extensionElements>
                <EDITOR_RESOURCEID><![CDATA[sid-558DAB9E-4264-44DA-9F08-02B433A0E0CF]]></EDITOR_RESOURCEID>
            </extensionElements>
        </sequenceFlow>
        <sequenceFlow id="sid-CC7D4F9F-0615-47C7-AF43-83B3B60485D8" sourceRef="sid-1ABD315A-FBF4-4062-BFDD-C54FD570EB84"
                      targetRef="sid-9E4F0F3C-F9E9-40B5-98C8-FE797AADCD5E"/>
        <sequenceFlow id="sid-B45EBE05-2520-404A-B74F-F1754CF5A5B2" sourceRef="sid-9E4F0F3C-F9E9-40B5-98C8-FE797AADCD5E"
                      targetRef="sid-5A2DB0C8-27DB-4898-97B3-971DB2911450"/>
    </process>

```

This was discovered using the modeler bundled with Flowable 6.6.0

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [December 4, 2020, 10:45pm UTC](https://forum.flowable.org/t/elements-missing-from-imported-file/7133/2 "2020-12-04T22:45:13Z")

</div>

I would need to check what the behavior is here or what is intended in the BPMN spec. What’s your use case of modeling it as such vs putting in inside the pools?

---

<div class="post-metadata">

**Author:** ![DarkStar1](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/darkstar1/32/394_2.png) [@DarkStar1](https://forum.flowable.org/u/DarkStar1)\
**Post date:** [December 5, 2020, 9:43pm UTC](https://forum.flowable.org/t/elements-missing-from-imported-file/7133/3 "2020-12-05T21:43:25Z")

</div>

The model was used for demonstrational purposes, but there’s a bug with the modeler in that the pool and the lanes rendered couldn’t be extended beyond their first drop in on the canvas. Any attempt to do so would shorten their width. My intention was to finish the model and then edit the xml to increase the pool length.
