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

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Guid>

See also

Reference

WorkflowInstanceService class

WorkflowInstanceService members

Microsoft.SharePoint.Client.WorkflowServices namespace