/
QueryOperator Enum
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);
Related content
GetProcessesByQuery Method
GetProcessesByQuery Method
More like this
PropertyComparator Enum
PropertyComparator Enum
More like this
WorkflowNameFilter Class
WorkflowNameFilter Class
More like this
GetProcessesByProperty Method
GetProcessesByProperty Method
More like this
GetProcessesByWorkflowName Method
GetProcessesByWorkflowName Method
More like this
ProcessTypeFilter(ProcessType) Constructor
ProcessTypeFilter(ProcessType) Constructor
More like this