[jboss-user] [jBPM] - Re: How to get the Task instance id ?
Kris Verlaenen
do-not-reply at jboss.com
Thu May 19 18:37:42 EDT 2011
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110519/7efccb50/attachment.html
More information about the jboss-user
mailing list