# Get execution Id from boundary message event

**URL:** <https://forum.flowable.org/t/get-execution-id-from-boundary-message-event/12552>\
**Category:** Flowable Engine\
**Created:** [March 12, 2026, 10:57am UTC](https://forum.flowable.org/t/get-execution-id-from-boundary-message-event/12552 "2026-03-12T10:57:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonio.pascual](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@antonio.pascual](https://forum.flowable.org/u/antonio.pascual)\
**Post date:** [March 12, 2026, 10:57am UTC](https://forum.flowable.org/t/get-execution-id-from-boundary-message-event/12552/1 "2026-03-12T10:57:58Z")

</div>

Hi,

I have added a boundary message event to a subprocess to sent an email upon reception. Like this:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/9/998bca2d2a6a8b6ccf8037fa8a10418e366a836f.png)

Is there an easy way to get the executionId of the boundary message event activity? I want to expose it to the outside to be able to call it by HTTP using

```auto
PUT /service/runtime/executions/:executionId

```

Or an alternative way of doing it?

Thanks!

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [March 13, 2026, 9:34am UTC](https://forum.flowable.org/t/get-execution-id-from-boundary-message-event/12552/2 "2026-03-13T09:34:54Z")

</div>

If you need a list of executions waiting for the message:

```auto
getRuntimeService.createExecutionQuery.messageEventSubscriptionName(...).list()

```

Regards

Martin

---

<div class="post-metadata">

**Author:** ![antonio.pascual](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@antonio.pascual](https://forum.flowable.org/u/antonio.pascual)\
**Post date:** [March 13, 2026, 9:36am UTC](https://forum.flowable.org/t/get-execution-id-from-boundary-message-event/12552/3 "2026-03-13T09:36:21Z")

</div>

I will try it.

Thanks a lot, Martin.
