Skip to main content
Nintex Community Menu Bar

Set a workflow queue?

  • January 23, 2020
  • 1 reply
  • 12 views

Forum|alt.badge.img+1

I have a RSVP tool created with forms and workflows. The end user can create an event and sessions, each session as a attendee limit. When someone RSVP to the session the workflow will first check if there is still room, if no send full email, if yes it will +1 to the attendees number, add the user, ex..

 

I ran into and issue where if the session is 9/10 attendees and 2+ people click within a few seconds/minutes of each other it will add all 2+ becuase all the workflows are running at the same time.

 

Is there a way to tell a workflow to only run 1 run at a time, set a queue?

1 reply

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • January 23, 2020
It is not possible to queue workflows in the manner that you are wanting to do it.
Other logic should be looked at to work around this issue.
One thing that comes to mind is to have the attendee total update from the form at the time of submission and not the workflow. Who ever submits first gets position 10 and the next position 11 so when the workflow runs it knows who submitted first.
A lookup runtime function on the submit button that looks up the number of current attendees and updates a column with the number + 1will tell you the order of submission.