Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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);
  • No labels