Export (0) Print
Expand All

WorkflowInteropService.StartWorkflow method

SharePoint 2013

Starts a SharePoint SharePoint 2010 workflow from within your SharePoint 2013 workflow. For more information about implementing this method, see Use workflow interop for SharePoint 2013.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

[ClientCallableMethodAttribute]
public abstract Guid StartWorkflow(
	string associationName,
	Guid correlationId,
	Guid listId,
	Guid itemGuid,
	IDictionary<string, Object> workflowParameters
)

Parameters

associationName
Type: System.String

Association name of the SharePoint 2010 workflow to start.

correlationId
Type: System.Guid

Guid ID of the start request. This value is passed in the event message to uniquely identify the workflow.

listId
Type: System.Guid

ID of a list on which to enable workflow events; if a site workflow, pass Empty to ignore.

itemGuid
Type: System.Guid

ID of a list item on which to enable workflow events; if a site workflow, pass Empty to ignore.

workflowParameters
Type: System.Collections.Generic.IDictionary<String, Object>

Collection of parameters to pass to the SharePoint 2010 workflow.

Return value

Type: System.Guid
Returns the Guid ID of the workflow started.
Show:
© 2014 Microsoft