WorkflowInstanceManager.StartWorkflow Method
Starts specified workflow instance.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
'Declaration
Public Function StartWorkflow ( _
workflowName As String, _
startInfo As WorkflowStartParameters, _
ParamArray activationMetadata As String() _
) As String
'Usage
Dim instance As WorkflowInstanceManager
Dim workflowName As String
Dim startInfo As WorkflowStartParameters
Dim activationMetadata As String()
Dim returnValue As String
returnValue = instance.StartWorkflow(workflowName, _
startInfo, activationMetadata)
public string StartWorkflow(
string workflowName,
WorkflowStartParameters startInfo,
params string[] activationMetadata
)
public:
String^ StartWorkflow(
String^ workflowName,
WorkflowStartParameters^ startInfo,
... array<String^>^ activationMetadata
)
member StartWorkflow :
workflowName:string *
startInfo:WorkflowStartParameters *
activationMetadata:string[] -> string
public function StartWorkflow(
workflowName : String,
startInfo : WorkflowStartParameters,
... activationMetadata : String[]
) : String
Parameters
- workflowName
Type: System.String
The name of the workflow to which the instance belongs.
- startInfo
Type: Microsoft.Workflow.Client.WorkflowStartParameters
The information of the WorkflowStartParameters.
- activationMetadata
Type: array<System.String[]
The activation metadata filter for the workflow instance.
Return Value
Type: System.String
The workflow instance result of this operation.