# Boundary Events and Flowable Modeler

**URL:** <https://forum.flowable.org/t/boundary-events-and-flowable-modeler/1454>\
**Category:** Uncategorized\
**Created:** [January 17, 2018, 10:42am UTC](https://forum.flowable.org/t/boundary-events-and-flowable-modeler/1454 "2018-01-17T10:42:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_McKinnon](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/robert_mckinnon/32/297_2.png) [@Robert\_McKinnon](https://forum.flowable.org/u/Robert_McKinnon)\
**Post date:** [January 17, 2018, 10:42am UTC](https://forum.flowable.org/t/boundary-events-and-flowable-modeler/1454/1 "2018-01-17T10:42:02Z")

</div>

I am seeing an issue with the Flowable Modeler tool where the boundary event loses its reference to the parent task. For example, if I have a user task and I have boundary event attached to it, when I export the process, the xml will be missing the “attachToRef” attribute on the boundary event. To get around the issue I have been added attachToRef every time I modify and export.

---

<div class="post-metadata">

**Author:** ![PHH](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/phh/32/94_2.png) [@PHH](https://forum.flowable.org/u/PHH)\
**Post date:** [January 17, 2018, 6:33pm UTC](https://forum.flowable.org/t/boundary-events-and-flowable-modeler/1454/2 "2018-01-17T18:33:08Z")

</div>

Hey Robert,

Is this on 6.2.1?

Cheers  
Paul.

---

<div class="post-metadata">

**Author:** ![tijs](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@tijs](https://forum.flowable.org/u/tijs)\
**Post date:** [January 18, 2018, 12:38pm UTC](https://forum.flowable.org/t/boundary-events-and-flowable-modeler/1454/3 "2018-01-18T12:38:17Z")

</div>

Hi Robert,

The boundary event is sometimes not actually attached to the parent task. You can always check this by dragging the parent task in the Modeler, the boundary event should also move with it then. When the boundary event is attached correctly in the Modeler, the attachedToRef attribute will definitely be present in the BPMN XML.

Best regards,

Tijs

---

<div class="post-metadata">

**Author:** ![Robert\_McKinnon](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/robert_mckinnon/32/297_2.png) [@Robert\_McKinnon](https://forum.flowable.org/u/Robert_McKinnon)\
**Post date:** [January 19, 2018, 10:57am UTC](https://forum.flowable.org/t/boundary-events-and-flowable-modeler/1454/4 "2018-01-19T10:57:23Z")

</div>

Yes. This is version 6.2.1

---

<div class="post-metadata">

**Author:** ![Robert\_McKinnon](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/robert_mckinnon/32/297_2.png) [@Robert\_McKinnon](https://forum.flowable.org/u/Robert_McKinnon)\
**Post date:** [January 19, 2018, 11:04am UTC](https://forum.flowable.org/t/boundary-events-and-flowable-modeler/1454/5 "2018-01-19T11:04:21Z")

</div>

Tijs,

This was the case. Once I dragged the boundary event over the parent task it turned green allowing you to attach it. When I exported, the xml was correct.

Thanks,

Rob
