purge orphan workflows
Is it possible to add a function in NWAdmin to purge orphan workflows directly?
Or, before workflow initiated, is it possible to detect if the item the workflow running on is deleted or not, if not, the workflow won’t be started.
How is this still not an inbuilt function?
Rhia Wieclawek commented
Agreed - in the Purge Workflow Data there should definitely be an option to "Purge Orphaned Workflows". It is always a pain to have to go through and either write a Batch Terminate workflow, or, go through and manually remove workflows by snipping the URL down to the instance ID.
Can the workflow tell if the item is deleted?