I have a library with required check out. When a user checks in a document my workflow runs. It does two things, send an email and update a non-required property field. The email does get sent. However, the update fails. The workflow errors contradict each other. First the item is locked until checked in and then the item must be checked out. I have tried commit pending and pause for 2 minutes.
How can I update the data?