This activity cancels specific running workflows on the specific list for selected item.
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
Parameter | Description | Example |
this list | Title or Url of chosen list. If the value field is empty, current list will be used. | Tasks[%Workflow Context:List Name%]/Lists/ Tasks |
this item | Item ID. If the value field is empty, current item ID will be used. | [%Variable:ItemID%], Current Item:ID |
this | Workflow Identifier | Name 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