Kris Verlaenen [
http://community.jboss.org/people/KrisVerlaenen] created the discussion
"Re: How to get the Task instance id ?"
To view the discussion, visit:
http://community.jboss.org/message/606172#606172
--------------------------------------------------------------
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
[
http://community.jboss.org/message/606172#606172]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]