How can I get process instances waiting for any message by engine-rest

I need to retrive active process instances which are waiting for a message (any message) by the rest API. Options described in camunda doc let me retrieve process instances given a definition key and a message name. I have the definition key, but I want to retrive the process instances waiting for any message, not by an specific message. This is posible using the runtime. Is there any way to do that by the rest API?

1 Like

Hi @reydi,

there is no query about eventsubscription implemented in the rest API right now.

As a workaournd, you can implement it by yourself with the help of the Java API. Have a look at the docs here where to start and embed the Camunda rest API into your implementation: https://docs.camunda.org/manual/7.10/reference/rest/overview/embeddability/

If you like you can contribute the missing feature to the code base.

Hope this helps, Ingo

2 Likes