QueryOperator Enum
First Added:Ā GlobalCapture 2.3.0.124
Specifies logical operators used to execute process queries.
public enum QueryOperator
Fields
And
0
Logical AND operator.
Or
1
Logical OR operator.
Example
The following example demonstrates passing a QueryOperator to theĀ GetProcessesByQueryĀ method.
var query = new List<ProcessFilter> { new PropertyFilter("Name", "John", PropertyComparator.Equals), new WorkflowNameFilter("Example Workflow"), new StatusFilter(ProcessStatus.Complete) }; var processes = Database.GetProcessesByQuery(query, QueryOperator.And);