We created an InfoPath form that Sales Reps take offline on their desktop. The Sales Rep fills out the form and when they connect back to the Internet (VPN
or via TMG) upload the form to a Form library. In about 50% of these cases, the population of the fields into the library item is incomplete when the workflow (SP Designer 2010 workflow) on the library kicks off to process the form. This locks
the form and the workflow errors out. The fields being populated are people picker fields, which are used by the workflow to set permissions and send emails.
We have tried putting a delay action in the workflow, but that just appears to put the workflow into a terminal “in-progress” state or errors out. We
are going to try it again with our latest version of the InfoPath form.
It sounds like a write timing issue between the workflow kickoff and the data being populated to the record. The process is successful about 50% of the time
in this scenario.