Here is a script that terminates all workflows based on their status. It is also possible to filter for specific items with a CAML query and it iterates trough large lists in batch size (of eg. 2000 items), so you won't run in a timeout or memory issue.
In the script there is a second part that will take care of the 2010 workflows, which is located between comment tags.
No comments:
Post a Comment