Get execution Id from boundary message event

Hi,

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

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

PUT /service/runtime/executions/:executionId

Or an alternative way of doing it?

Thanks!

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

getRuntimeService.createExecutionQuery.messageEventSubscriptionName(...).list()

Regards

Martin

I will try it.

Thanks a lot, Martin.