WorkflowInstanceService.StartWorkflow method
Namespace: Microsoft.SharePoint.Client.WorkflowServices
Assembly: Microsoft.SharePoint.Client.WorkflowServices (in Microsoft.SharePoint.Client.WorkflowServices.dll)
Syntax
'Declaration
Public Overridable Function StartWorkflow ( _
subscription As WorkflowSubscription, _
payload As IDictionary(Of String, Object) _
) As ClientResult(Of Guid)
'Usage
Dim instance As WorkflowInstanceService
Dim subscription As WorkflowSubscription
Dim payload As IDictionary(Of String, Object)
Dim returnValue As ClientResult(Of Guid)
returnValue = instance.StartWorkflow(subscription, _
payload)
public virtual ClientResult<Guid> StartWorkflow(
WorkflowSubscription subscription,
IDictionary<string, Object> payload
)
Parameters
- subscription
Type: Microsoft.SharePoint.Client.WorkflowServices.WorkflowSubscription
- payload
Type: System.Collections.Generic.IDictionary<String, Object>
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Guid>