How to list all messages the process instance is waiting for?

This is for custom UI - I want to know what actions (buttons) should be available for the user at any given time.

Hi @andrius,

try out this REST Endpoint: Get Event Subscriptions | docs.camunda.org

Hope this helps, Ingo

1 Like

Danke, Ingo,
actually I was looking for Java API function, but following your advice, I found

runtimeService.createEventSubscriptionQuery()
.processInstanceId(processInstanceId)
.list()

That works like expected and returns both messages and signals.
Andrius

1 Like