AnsweredAssumed Answered

Should I use Java receive task or just a user task?

Question asked by ssun on May 6, 2014
Latest reply on May 7, 2014 by ssun
In my workflow, at this stage, I need the code to go do something. It will take a long time and it is not synchronized so I should not use a service task for sure. But after the code is done, my code need to notify workflow that this is done and you need to continue.

It seems like a fit to use Java receive task here
But I'm actually using the REST api, which under the Runtime section only have a signal event and does not have a signal message received.

So I ended up use a user task and have my code through REST API just claim and finish the task.

Am I doing the right thing? Is there a lot of things missing in the REST API? What is the reason we have a Java receive task and in what situation I should use it instead of user task?

Thank you very much!