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.