Skip to main content
Nintex Community Menu Bar
Question

Form Submission Rule - File already uploaded


Forum|alt.badge.img+3

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

Translate
Did this topic help you find an answer to your question?

7 replies

Deon
Forum|alt.badge.img+10
  • Rookie
  • 125 replies
  • February 20, 2024

@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?

Translate

Forum|alt.badge.img+3

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.

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2436 replies
  • February 20, 2024

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.

Translate

Deon
Forum|alt.badge.img+10
  • Rookie
  • 125 replies
  • February 20, 2024

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…

 

Translate

Forum|alt.badge.img+3

Thanks for your replies @SimonMuntz & @Deon 

Ill defiantly find my solution with those suggestions

Appreciate it!

Translate

Forum|alt.badge.img+3
  • Nintex Employee
  • 9 replies
  • February 20, 2024

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!

Translate

Forum|alt.badge.img+3

haha thanks @BarryCairns 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings