IS there a replacement for the GetWorklistItems() method . The method is deprecated and i want to get all the users who have certain process instance.

  • 6 October 2010
  • 4 replies
  • 1 view

Badge +11

Hi


I wrote the following code


SourceCode.Workflow.Management.WorkflowManagementServer server = new SourceCode.Workflow.Management.WorkflowManagementServer();


when i use the server.GetWorklistItems() method , it seems that it is deprecated.


Is there another way to get all the users who have certain process instance assigned to them.?


are there any conditions that should exist before i do that.


 


4 replies

Badge +5

Hi,


Are you sure it is deprecated? Also, maybe have a look into the SourceCode.Workflow.Client namespace, see here: http://help.k2.com/helppages/K2devref/Workflow.Client/webframe.html
Also see this link for the SourceCode.Workflow.Management: http://help.k2.com/helppages/K2devref/Workflow.Management/webframe.html


Regards
Frikkie!

Badge +13

FYI you need to be logged on to K2 Help or you'll get an error that the link is invalid.


The docs seems very plain without much description.

Badge +11

unfortunately i cannot access the files


you can use http://youconvertit.com/SendFiles.aspx to share the files with me


my email is BasharA@gmail.com

Badge +8

Its only one overload of the method that has been depreciated, the one containing the "out int recordCount" parameter. You can still continue to use the others. Specifically, if you need the record count back, use the overload using the WorklistCriteriaFilter parameter.


Reply