Skip to main content
Nintex Community Menu Bar

Hi,

I have a form that has multiple upload boxes.. Is there a way to create a form rule that will limit files being uploaded twice? 

As im saving the files in a sharepoint folder, if its been saved as per a previous upload box action the form fails. 

This is obviously no good for production as this is defiantly a mistake that will happen on the floor. 

Is there a work around other than creating a folder for each box to save into? 

A submit rule would be perfect

@MatthewSimmons , do you mean a user attaches the same file in different places on the same form, submits and then workflow errors out?

Or User A submits with FILEA and later User B submits with same FILEA and the workflow errors out?


Hey D,

Yeah Opt 1.. The user filling out the form uploads a photo at the start of the form and then in a different upload box further down the form uploads the same photo again for whatever reason. 
As the photos are going into the same folder, it opens up room for the form to fail.


Hi @MatthewSimmons,
 

As you store each file, you could rename it to something unique using the SharePoint Online Rename a file action. Do this regardless of whether there are duplicates or not.


Hi @MatthewSimmons , I am not aware of a way to that on the Form itself with Submit Rule and Functions but another option could be to just allow overwrites on the Store a file action…

 


Thanks for your replies @SimonMuntz & @Deon 

Ill defiantly find my solution with those suggestions

Appreciate it!


As you Store the file you can also set Overwrite option to Yes. The workflow action will then not fail.

It seems unlikely that duplicate filename would ever be a valid scenario for photos?

Edit: Deon beat me to it!


haha thanks @BarryCairns 


Reply