Receive Tasks waits until the corresponding message correlation is received.
I have added a Receive Task next to a Service Task like below:
Task1 is a Service Task and is associated with a Java Delegate class. Now, Task1 is completed and the token has been moved to the Receive Task.
How to send the message using REST API to complete/move ahead after “Receive Task”?
I am referring to the below REST API but am not sure about the payload to be sent:
Do I need to add some correlation-related code in the Java Delegate class attached with Task1? I do not think so, because I do not want to complete it via Task1. I want to wait on the “Receive Task” and complete it from outside through the REST API call.