[jboss-user] [jBPM] - Re: jBPM5 : Assign Human task to a Group / Role

Aliaksei Kushunin do-not-reply at jboss.com
Thu Sep 29 07:52:11 EDT 2011


Aliaksei Kushunin [http://community.jboss.org/people/a.kushunin] created the discussion

"Re: jBPM5 : Assign Human task to a Group / Role"

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

--------------------------------------------------------------
Hi Demian!

Thanks for example. But I still missing something :-(

If I set  ActorId, without any GroupId in my bpmn file, than I can retrive tasks assignet to this actorId using:
client.getTasksAssignedAsPotentialOwner("actorId", "en-UK", taskSummaryResponseHandler);

But if I set ActorId and GroupId in bpmn tasks list always empty no matter if I use
client.getTasksAssignedAsPotentialOwner("actorId", "en-UK", taskSummaryResponseHandler);
or 
client.getTasksAssignedAsPotentialOwner("actorId", groups, "en-UK", taskSummaryResponseHandler);

I looked at example that you provided and tried to also remove ActorId from task and left only GroupId, but still no luck. What I have missed?
I aslo tried to use process definition from the exapmle, but have the same troubles task list is empty. But in DB tasks are created.
--------------------------------------------------------------

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

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/20110929/d519e3f6/attachment.html 


More information about the jboss-user mailing list