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

Version 1 Current »

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 properties based on a specific process status. The query targets all processes that are currently in validation.

var processes = Database.GetProcessesByStatus(ProcessStatus.Validation);

Remarks

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

  • No labels