Hi
i used this code to retrieve all the process instances that are in error state..but it seems that it doesnt work.
i tried to search the k2 site but search was off on this day
-------------------------------------------------------------------------------------------------------------
WorkflowManagementServer wms = new WorkflowManagementServer("Server", 5555);
wms.Open();
WorklistCriteria cri = new WorklistCriteria();
cri.AddFilterField(WCField.WorklistItemStatus, WCCompare.Equal, "0");
//WCField.WorklistItemStatus
//WorklistItems wi = wms.GetWorklistItems(DateTime.MinValue,DateTime.MaxValue, "%", "%", "%", "%", "%");
WorklistItems wi = wms.GetWorklistItems(cri);
-----------------------------------------------------------------------
how to do it in code?