# Boundary error event with event registry

**URL:** <https://forum.flowable.org/t/boundary-error-event-with-event-registry/7464>\
**Category:** Uncategorized\
**Created:** [February 5, 2021, 7:17am UTC](https://forum.flowable.org/t/boundary-error-event-with-event-registry/7464 "2021-02-05T07:17:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SankhaJay](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/sankhajay/32/2219_2.png) [@SankhaJay](https://forum.flowable.org/u/SankhaJay)\
**Post date:** [February 5, 2021, 7:17am UTC](https://forum.flowable.org/t/boundary-error-event-with-event-registry/7464/1 "2021-02-05T07:17:15Z")

</div>

Can we add a boundary event to a triggerable send task and execute that boundary error event when some java exception is thrown.

---

<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:** [February 8, 2021, 12:57pm UTC](https://forum.flowable.org/t/boundary-error-event-with-event-registry/7464/2 "2021-02-08T12:57:05Z")

</div>

Yes, I think so. The boundary event can have an exception mapping: [BPMN 2.0 Constructs · Flowable Open Source Documentation](https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/#exception-mapping)
