How to build a unit test to get and complete a "Receive Task action"

Hi @devBunny,

you have to write

runtimeService.createMessageCorrelation("your message name").correlate();

to deliver the expected message and continue with the process instance.

Hope this helps, Ingo

4 Likes