Skip to main content

All-


 I am trying to filter the list of workflow processes by a process level datafield that are returned using the following code:


SourceCode.Workflow.Management.

ProcessInstances processes = managementServer.GetProcessInstancesAll(filter);


The filter is a ProcessInstanceCriteriaFilter object. There is no SDK or examples for this so I was wondering is anyone had any experience with it.


 


 Mike Trouard

From what I understand, that function is primarily for retrieving the list of instances based on a fixed criteria like DateTime, Folio, etc.  But not on datafields.


Perhaps one other way of doing this is to use the Report Designer and generate a custom report query which filters based on the default ProcessInstance and ProcessData SmartObjects.  From here, I could export it to RDL and I could leverage on the generated query.  This would give me a quick way to do the listing using the K2 ADO.NET provider.


Reply