Skip to main content
Skip table of contents

QueryOperator Enum

First Added: GlobalCapture 2.3.0.124


Specifies logical operators used to execute process queries.



CODE
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
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);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.