[jboss-user] [jBPM] - Re: How to query tasks

Maciej Swiderski do-not-reply at jboss.com
Tue Dec 20 15:26:38 EST 2011


Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: How to query tasks"

To view the discussion, visit: http://community.jboss.org/message/642544#642544

--------------------------------------------------------------
One of possible solution to that would be to use following method from TaskClient:

public void getTaskByWorkItemId(long workItemId, GetTaskResponseHandler responseHandler) 


if you can include work item id while sending the link. You could get work item id with onExit-script of the human task - set it as process variable.

Then use that work item id to query for task.

If that is not good for your case you can always use the generic query method from TaskClient.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/642544#642544]

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/20111220/274f7711/attachment.html 


More information about the jboss-user mailing list