Skip to main content

Hey All,


Does anyone out there know how to get the Direct Reports to show up in one's K2 [blackpearl] Workspace, much the same way it did in K2.Net 2003?  In .Net 2003 you would click the Worklist tab and then the ViewList tab and you would see "Me" and then any direct reports you would have, as defined in Active Directory.  In K2 2BP] we only see the current contextual user and no direct reports.  Is there a configuration setting or something else that controls this? 


Thanks
Robert

You can easily do this in blackpearl.  Here are the steps:



  1. Use a K2 admin account to go to K2 Workspace
  2. Go to Management | Management Console
  3. Expand the K2 server, then right-click on Workflow Server and choose "Edit Settings"
  4. Go to the "Advanced Settings" tab
  5. Check the box that says "Display Worklist of Managed Users"

When users go to their worklist in Workspace it will look like normal.  If they click the black "Worklist" tab in the lower left corner, it will expand to review all of the users they manage.  Click on a user and you can see their worklist. 


All of this presumes the AD user hierarchy information is in place.


How to programatically get the worklist items of the direct reports? I understand we can get the worklist for all direct reports using this configuration through management console.


 Thx


Ram


In the SourceCode.Workflow.Client namespace is a class called Connection.  This class has a method called OpenWorklist and one of its overloads allows you to retrieve the worklist of managed users.  You can find more about this method in the Developer Reference.

Reply