I'm trying to create a workflow in SharePoint Designer that is triggered on file creation in a document library that does some validation on the file name and would delete the file if it doesn't pass validation. We're using SharePoint Foundation.
I've tried deleting items without any of the other logic of the workflow in place (simply delete every file that is uploaded) but I've been getting the message "Error Occurred - The workflow could not delete the list item. Make sure the list exists
and the user has permissions to delete items in the list" every time and had no success so far.
The SharePoint System Account and my own user have full control of the library (as well as site and site collection), and I have tried running the workflow with an impersonation step as well as just the normal setup. I can copy the current item to another
library but again no luck deleting it. I've also tried deleting an already existing file in the same library when another file is uploaded in case it was file lock type thing, but that doesn't work either.
I'm wondering if this is a permissions issue somewhere in Central Admin, but any help would be greatly appreciated. Thanks very much.
View Complete Post