Skip to main content
Nintex Community Menu Bar
Question

Prevent New Form Submission


Forum|alt.badge.img+1

I am creating a form in NAC and would like to prevent someone from resubmitting a form one after another.

 

I understand that you can query Workflow Instances of a form that has already been submitted using “Get a workflow’s instances” data source. However, how do we query the USER that submitted these instances?

I am inserting this information to a database on a workflow submission, but in the time it takes to do that while the 1st submission is still processing, a user can submit a 2nd form while the 1st submission is still waiting to be added to the database.

4 replies

Forum|alt.badge.img+15
TtlMetal wrote:

I am creating a form in NAC and would like to prevent someone from resubmitting a form one after another.

 

I understand that you can query Workflow Instances of a form that has already been submitted using “Get a workflow’s instances” data source. However, how do we query the USER that submitted these instances?

I am inserting this information to a database on a workflow submission, but in the time it takes to do that while the 1st submission is still processing, a user can submit a 2nd form while the 1st submission is still waiting to be added to the database.

I'm no expert but could you use the data source on external data tab to get instances and then check if the user already has instances using a validation rule checking against email, assuming this is an authenticated start form? You can use a contains rule or something for collection returned from data source output.


Forum|alt.badge.img+1
  • Author
  • Rookie
  • 3 replies
  • October 5, 2023
brandiwoodson wrote:
TtlMetal wrote:

I am creating a form in NAC and would like to prevent someone from resubmitting a form one after another.

 

I understand that you can query Workflow Instances of a form that has already been submitted using “Get a workflow’s instances” data source. However, how do we query the USER that submitted these instances?

I am inserting this information to a database on a workflow submission, but in the time it takes to do that while the 1st submission is still processing, a user can submit a 2nd form while the 1st submission is still waiting to be added to the database.

I'm no expert but could you use the data source on external data tab to get instances and then check if the user already has instances using a validation rule checking against email, assuming this is an authenticated start form? You can use a contains rule or something for collection returned from data source output.

I initially looked into that but cannot identify any use of email in the Workflow Instances. And yes, this is an authenticated start form.
 

 


Forum|alt.badge.img+15
TtlMetal wrote:
brandiwoodson wrote:
TtlMetal wrote:

I am creating a form in NAC and would like to prevent someone from resubmitting a form one after another.

 

I understand that you can query Workflow Instances of a form that has already been submitted using “Get a workflow’s instances” data source. However, how do we query the USER that submitted these instances?

I am inserting this information to a database on a workflow submission, but in the time it takes to do that while the 1st submission is still processing, a user can submit a 2nd form while the 1st submission is still waiting to be added to the database.

I'm no expert but could you use the data source on external data tab to get instances and then check if the user already has instances using a validation rule checking against email, assuming this is an authenticated start form? You can use a contains rule or something for collection returned from data source output.

I initially looked into that but cannot identify any use of email in the Workflow Instances. And yes, this is an authenticated start form.
 

 

I see what you mean. I’m not sure then. Maybe a recommendation is redirect so they don’t have time to immediately submit another form and still have the validation in your workflow so it doesn’t log it again, maybe shoot them an email if one already exists. 


AnthonyD
Nintex Employee
Forum|alt.badge.img+6
  • Nintex Employee
  • 35 replies
  • October 6, 2023

Another suggestion is try out if the ‘Form submission using data source variables’ and if this can help you out? This is in the settings tab.
 

 


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