Skip to main content

Workitem list filter - How get details of workitem based on status Available, Allowcated, Open and Sleep


Could you please any one help us share the .NET code to retrive the workitem based on status Available, Allowcated, Open and Sleep?

You can use the WorklistCriteria object as input for the OpenWorklist method. Just call the AddFilterField method, passing in the relevant status:


SourceCode.Workflow.Client.WorklistCriteria wc = new SourceCode.Workflow.Client.WorklistCriteria();
wc.AddFilterField( SourceCode.Workflow.Client.WCField.WorklistItemStatus, SourceCode.Workflow.Client.WCCompare.Equal, SourceCode.Workflow.Client.WorklistStatus.Available); 


Reply