JBoss Community

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

created by Aliaksei Kushunin in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community