Cancel running Workflow

⌘K

This activity cancels specific running workflows on the specific list for selected item.

cancel_running_workflow_1

You can use the activity to terminate list item workflow if an error occurs or the workflow stops responding. Note: Canceling the workflow will set its status to Canceled and will delete all tasks created by the workflow. SharePoint Workflow Designer Phrase

Cancel running workflow in this list on this item, named this

Parameters

Input parameters

ParameterDescriptionExample
this listTitle or Url of chosen list. If the value field is empty, current list will be used.Tasks[%Workflow Context:List Name%]/Lists/ Tasks
this itemItem ID. If the value field is empty, current item ID will be used.[%Variable:ItemID%], Current Item:ID
thisWorkflow IdentifierName of running workflow
SiteURL (optional)The URL of a source SharePoint site. If the value field is empty, current site will be used.https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]/subSite

Example

cancel_running_workflow_2

How can we help?