/
GetProcessesByWorkflowName Method

GetProcessesByWorkflowName Method

First Added: GlobalCapture 2.3.0.124


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

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".

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

Remarks

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

Related content

GetProcessesByQuery Method
GetProcessesByQuery Method
More like this
GetProcessesByStatus Method
GetProcessesByStatus Method
More like this
GetProcessesByProperty Method
GetProcessesByProperty Method
More like this
GetPropertyNames Method
GetPropertyNames Method
More like this
WorkflowNameFilter Class
WorkflowNameFilter Class
More like this
GetProcessById Method
GetProcessById Method
More like this