Office 365 – Nintex delete items reporting: Unable to find list item to delete.

Today I created a workflow that needs to delete items, of more specifically all documents matching certain criteria in my SharePoint Online based document library.

So I simply dragged in the Office 365 delete items action into my workflow.

 

DeleteItems

Easy! Or maybe not?

In my case my I wanted to delete all documents where a status field was set to Archive.

While I was developing the workflow there was no document with the status of Archive and I found that the workflow gave me an error

Unable to find list item to delete.

Hmm, there are no error handling option on this action and my workflow is falling over.

So I added a query list action to check how many items there are to be deleted.

deletecheck

So by checking if there is anything to delete the error is now avoided and my workflow runs successfully.


Discover more from SharePains

Subscribe to get the latest posts sent to your email.

Avatar of Pieter Veenstra

Is your business still running on paper trails, sprawling Excel files, or ageing Access databases? There's a better way — and I can show you exactly what it looks like. I'm the Technical Director of Vantage 365, a Microsoft solutions consultancy working with clients across the UK, the Netherlands, and worldwide. For over 30 years I've been turning messy, manual business processes into clean, automated systems that save time, reduce errors, and give teams the visibility they need to make better decisions. You can contact me using contact@sharepains.com

Related Posts

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from SharePains

Subscribe now to keep reading and get access to the full archive.

Continue reading