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

Today I created a workflow that needs to delete 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.

Advertisements

Please leave a comment or feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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