Skip to main content
Skip table of contents

GetProcessesByWorkflowName Method

First Added: GlobalCapture 2.3.0.124


Queries the MongoDB database for a list of Processes from a specific workflow.

CODE
public List<Process> GetProcessesByWorkflowName(string workflowName)

Classes: Database


Parameters

string workflowName

Name of the matching workflow.

Returns

List<Process>

List of process objects.


Example

The following example demonstrates getting a list of processes from a specific workflow by name. The query targets all processes from a workflow named "Example Workflow".

CODE
var processes = Database.GetProcessesByWorkflowName("Example Workflow");

Remarks

If the parameters result in zero Processes found, an empty list will be returned.

JavaScript errors detected

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

If this problem persists, please contact our support.