-
1. Re: Business Administrator for a Task?
swiderski.maciej Feb 28, 2013 1:43 PM (in response to e3aa3b)currently business administrator is hard coded to user called Administrator. It was already enhanced and will be released with new version where you can specify custom business administrators.
HTH
-
2. Re: Business Administrator for a Task?
e3aa3b Feb 28, 2013 2:18 PM (in response to swiderski.maciej)Is there a way to enhance/extend the functionality to include a group of users in the 'Administrator' role? (till the new version comes up)
-
3. Re: Business Administrator for a Task?
swiderski.maciej Mar 1, 2013 8:25 AM (in response to e3aa3b)yes, since that is workitem handler you extend the exising one with your custom logic and register it instead of the one used by default.
HTH
-
4. Re: Business Administrator for a Task?
kewlshashi Jul 18, 2015 11:08 AM (in response to swiderski.maciej)Do we know in what version will this be available. I want to assign a group as business administrator so that any person in that group can take action as adminstrator.
I am checking 6.1.0.Final and there we have option to set BusinessAdministratorGroupId but the actual API to retieve tasks "getTasksAssignedAsBusinessAdministrator" takes just userId while querying Database.
I see this in org.jbpm.services.task.commands.GetTaskAssignedAsBusinessAdminCommand class. See below method it takes just UserId . It would have been good if this can pass user's group Id
public List<TaskSummary> execute(Context cntxt) {
TaskContext context = (TaskContext) cntxt;
doCallbackUserOperation(userId, context);
doUserGroupCallbackOperation(userId, null, context);
return context.getTaskQueryService().getTasksAssignedAsBusinessAdministrator(userId);
}
Thanks