I need to be able to return all the users that a particular activity instance is assigned to using the K2 API.
This is because worklist items are generally assigned to multiple users - a user, a team user and a department user. Individuals are able to log in as their actual user, or their team or department user to view all worklist items assigned to their team or department. When someone is viewing the team or department worklist, they want to be able to see the real users that each item is assigned to.
Currently I'm trying to use the WorkflowManagementServer.GetActionInstanceRights function, but it just returns me an empty list. I have previously tried to use the WorkListItem.DelegatedUsers property for this, but this is also empty.
Has anyone tried to do this before and had any luck?
We are on blackpearl 4.5
Thanks!