SP.WorkflowServices.WorkflowInstanceService.cancelWorkflow Method (sp.workflowservices)
Sends a cancel message to the specified workflow instance and permits the instance to execute a cancellation scope.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.WorkflowServices.WorkflowInstanceService.cancelWorkflow(instance)
Return value
None.
Parameters
- instance
The WorkflowInstance instance to cancel.