Hi, I have an IP 2010 form and am using next number (auto incrementing) functionality that seems to be the recommended method that I've found online... (the process works fine, without fail...even resets the next number to 1 at start of a new year).
-
Next Number list in SharePoint
-
On Form Submit button, query the Next number list, read the max number and generate the form id. Then increment the number by one and push it back to the next number list via a map/submit.
-
Then continue the rest of the rules (on the Submit button)..like push the form data to the appropriate list.
-
(so everything happens on the same Submit button click)
OK, my question is: there is a concern that if 2 users submit at the same exact time. Even though everything happens in a fraction of a second, we envision that there could be an issue where one form is in the middle of the submit process (where the next number is pushed back to the list) and the other user's submit is trying to read the next number...causing it to end up using the same number, or would it lock data, or something blows up....
Has anyone ran into the situation?
Is there any other suggested method for next numbering that could prevent this from happening? Like is there something where this could be no longer a multiple step process?
I have SharePoint 2010, InfoPath 2010, qRules 6
thanks for any help!
Gwen