Stop a workflow when the item is deleted

I have a workflow that waits for a certain date to occur depending on the user input. However when the list item is deleted, the workflow still runs.

Is there a way to say

Wait for item to be deleted
Then Stop the Workflow



1 Answer


I don’t think that is possible. You can follow below pattern to solve the issue

Store currentitem id to a workflow variable WV_ID

Wait for X timeframe

If list not contains item with ID = WV_ID
Current Item is deleted – Log Message & Stop Workflow
… Continue normal operations