Delete Attachments - UDA

Document created by Eric Harris Employee on May 31, 2016Last modified by Vadim Tabakman on Jun 2, 2016
Version 2Show Document
  • View in full screen mode

Use this UDA to delete all attachments from a list item.

 

AuthorVadim Tabakman
Long DescriptionDelete all item attachments, so that there are no duplicate files.
Dependencies

None

Support InfoVadim Tabakman - Nintex Workflow - Delete All Attachments UDA - Vadim Tabakman
Compatibility

Nintex Workflow 2013

Platform

SharePoint Server 2013

Screenshots

Additional Information

Possible Enhancements

As I mentioned above, this UDA is limited to the current item the workflow is running on.  But you could enhance this UDA with these options:

 

 

1. add parameters to handle List Name, Item ID and even a Site URL so that the UDA can delete attachments from any item in any site.

 

 

2. add error handling to the Call Web Service.  This is always a good preventative option so that if any issue occur, you can capture the error and do something with it.

 

 

3. add logic to the For Each action, so that only a subset of the attachments are removed.  eg. you may want to keep PDFs attached, and everything else removed.

Nintex Xchange Terms of Use Policy

Nintex makes no warranty or guarantee about the reliability, performance, quality, or functionality of any assets, and any assets you install are therefore provided as is. By downloading this asset, you agree to the terms of use.

Outcomes