Example of completing a User Task with REST API

If you would have a user task to symbolize “process is waiting”, what if the user decided to complete the task manually? You would never get notified by the async return because no process instance is waiting for it anymore.

Maybe the concept of external tasks would be a solution … instead of “pushing” the external service to start asynchronous work and call back, you just provide the information that “something has to be done” and the external service picks up, locks and returns the result on its own.

Or check out this article that Daniel wrote quite a while ago which describes how to leverage async behaviour inside a service task without an additional receive step: https://blog.camunda.org/post/2013/11/bpmn-service-synchronous-asynchronous/

1 Like