I have a library that has Check out enabled so that when the user works on the document it forces them to check out the document. This ensures that other users do not make changes to the document. However the issue that I am running into is that my workflow keeps failing with the following error:
I have added commit pending changes to see if that would prevent the workflow from failing but that is not the case.
As soon as the user checks in the document I have a commit pending changes added.
Next comes the action of a string being built and then saved in a column. The workflow stops after that.
Hi Rency Gonzalez,
If you have check-in/check-out enabled on the library, to update the document properties, you have to check out the document within your workflow.
Before using Set Field value, use Check-out document action, Commit pending changes, then set the value, then Check-in document action, then commit pending changes. May be you dont need so many Commits but it is to make sure that document is checked out when you edit the properties.
Hope it helps.
Thank you so much for your help the check out and check in worked however it is now failing at an update action. I tried adding check out and check in action before and after the update action but it didn't work. Could you help?
Waiting for Update action is an input by the user. You do not need Check-out/Check-in actions for this in the workflow. User is going to perform those operations when updating the document properties.
Is there any error message?
My workflow keeps cancelling not sure why. The error message is so generic and doesn't give me details. When I published my workflow and then checked in my item into the library the workflow completed from beginning to end however when I checked in a second word document into my library it failed. Not sure what is going on .