This activity cancels all running or faulting workflows for selected list item.
Note: Canceling the workflow will set its status to Canceled and will delete all tasks created by the workflow.
Parameters
Input parameters
Parameter | Description | Example |
current list item | List item ID which running workflow you want to cancel. If the value field isempty, current item ID will be used. | [%Variable:ItemID%], Current Item:ID |
current list (optional) | List ID (guid) or name where you want to cancel list item running workflow. If the value field is empty,current list will be used. | Tasks[%Workflow Context:List Name%]/Lists/ Tasks |
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