JBoss Community

Re: How to get the Task instance id ?

created by Kris Verlaenen in jBPM - View the full discussion

Hi,

 

Yes, it will be unique for that session, or fully unique across sessions if you use persistence.

 

The getTaskByWorkItemId() method uses asynchronous communication, so you need to provide a response handler that will be called asynch. and return the result.  Simply use the BlockingGetTaskResponseHandler if you want to get the result synchronously.

 

Kris

Reply to this message by going to Community

Start a new discussion in jBPM at Community