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