Use a JMS listener as an intermediate task in a process

We are trying to design a process where the first task invokes a REST API to initiate a long running backend job. This backend job publishes on a topic once its completed. How can i have the second task to be one that waits for this message to be published on the topic.

Hi

I too had a similar need, where I needed to wait for DB update before moving to the next step. I used an “Intermediate timer catching event” for this purpose. It polled DB after a specific time interval, to see if the DB had the specific value, to move to the next step.

Hi,

Another possible solution could be to use a receive task and signal the process instance when the message has been read from the topic.

Best regards,

Tijs

Was this solved? Can anyone provide the Implementation wise solution here?