[jboss-user] [jBPM] - Re: understanding taskclient

Sebastien Lelarge do-not-reply at jboss.com
Thu Jun 2 15:00:13 EDT 2011

Sebastien Lelarge [http://community.jboss.org/people/slelarge] created the discussion

"Re: understanding taskclient"

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


I've played a little more with the jBPM API and it seems that you don't have to manage the relationship between users and groups in jBPM Human-Task persistence database.
This is what I understand :

* you can assign tasks to groups by using the GroupID attribute of the Task
* you can call the API functions like getTasksAssignedAsPotentialOwner("user1", groups, "en-UK", user1TaskSummaryResponseHandler)
where the "groups" argument is a list of groups to which the user belongs. It is your responsibility to call a function that returns the list of groups and then to pass it to the jBPM Human Task engine.
jBPM sees which tasks are available for the user.

Does it make things clearer ?


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110602/2d8e4276/attachment.html 

More information about the jboss-user mailing list