First Added: GlobalCapture 2.3.0.124
Excerpt |
---|
Specifies logical operators used to execute process queries. |
Code Block |
---|
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.
Code Block |
---|
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); |