This content has been marked as final.
Show 4 replies
-
1. Re: Determine the task node's actor ID.
calca Jul 28, 2011 6:29 PM (in response to bensonfungjava)Hi Benson,
This can help you:
BlockingGetTaskResponseHandler handler = new BlockingGetTaskResponseHandler();
client.getTask(taskId, handler);
Task task = handlerT.getTask();
User user = task.getTaskData().getActualOwner();
Demian
-
2. Re: Determine the task node's actor ID.
bensonfungjava Jul 28, 2011 10:37 PM (in response to calca)Thanks Demian,
Does it apply to jbpm3 as well?
Because BlockingGetTaskResponseHandler is new to me when I learn jbpm3.
Benson
-
3. Re: Determine the task node's actor ID.
calca Jul 28, 2011 10:53 PM (in response to bensonfungjava)Sorry about this Benson, I did not read the category of the post.
I don't remember much about jbpm3 (used it in the past), but this class could help you:
http://docs.jboss.com/jbpm/v3.2/javadoc-jpdl/org/jbpm/taskmgmt/exe/TaskInstance.html#getActorId()
Regards,
Demian
-
4. Re: Determine the task node's actor ID.
bensonfungjava Jul 28, 2011 11:59 PM (in response to calca)OK. thanks Demian