Contact us

Cancel all workflows on list item

This activity cancels all running or faulting workflows for selected list item.

cancel_all_workflows_on_list_item_1

Note: Canceling the workflow will set its status to Canceled and will delete all tasks created by the workflow.

Parameters#

Input parameters

ParameterDescriptionExample
current list itemList 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

cancel_all_workflows_on_list_item_2

Was this article helpful to you?

Updated on October 28, 2024