Skip to main content
Nintex Community Menu Bar

Create List Action - Overwrite Existing List

  • January 17, 2019
  • 3 replies
  • 15 views

Forum|alt.badge.img+1

Hello,

Is there a way to overwrite an existing list when creating a new list?

The original list can be deleted or renamed, as long as the new list can have the old lists name.

I tried to do this with the Create List action, but I could not figure it out.

I am using an On Premise version of Nintex which is installed on a local SharePoint server.

Any help is greatly appreciated

Thank you.

3 replies

Forum|alt.badge.img+17
  • January 18, 2019

For this, you have a few options:

1. You can use web service to delete the list and then create a new list.... not easy but works

2. You can just use a workflow to delete all the items from the current list and then you'll have an empty list to start using again.

Hope that helps, share more on why you need to delete the list.


Forum|alt.badge.img+1
  • Author
  • Nintex Partner
  • January 18, 2019

Eric,

 

Thank you, using the Web Request action to delete a widget worked perfectly.

 

Because there won't always be a list to delete, I captured the error results so that the workflow would continue if there was not a list to delete. Doing this allowed the list to be deleted if it was there, and the workflow would not crash if the list was not deleted.


Forum|alt.badge.img+17
  • January 18, 2019

Glad that helped out. Happy automating.