SP.WorkflowServices.WorkflowInstanceService.startWorkflow Method (sp.workflowservices)
Starts a Workflow Manager Client 1.0 instance specified by the subscription and passes the supplied parameters.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.WorkflowServices.WorkflowInstanceService.startWorkflow(subscription, payload)
Return value
Returns the workflow instance to be started, with appropriate parameter values.
Parameters
subscription
The subscription associated with the workflow instance.payload
The IDictionary object that contains name-value pairs of parameter names and values to pass into the workflow instance.