JBoss Community

Re: How to get the inserted TASK id

created by Maciej Swiderski in jBPM - View the full discussion

In general, addTask method of class TaskClient accepts implementation of AddTaskResponseHandler which will get task id.

But ... after quick look at WSHumanTaskHandler implementation it does not use response handler at all. So you could modify it if you like to do code changes in jBPM or use one of the query methods provided by TaskClient to get tasks available based on certain search criteria, as already mentioned by Jose.

Reply to this message by going to Community

Start a new discussion in jBPM at Community