I have a method to call ItemAdding
and in this method I call another method. This other method creates a number for the item that was added.
However, if two people call this code at the same time, User A will get a number and User B will submit at the same time eliminating User A's data and User B won't get a number created.
Is there any way to keep SharePoint from updating to XML files at the same time in a workflow?