Hi all,
I am working with K2 Studio to integrate a workflow with InfoPath in Sharepoint Server 2010. The InfoPath form has a couple of views. Each view is associated with some client event and in each view some extra fields are added to fill in by a different user.
There is one user at the end of the workflow that has the "final" command: he can approve the form, or reject it. When rejected, the flow returns all the way to the beginning. This is where it fails: when the first user receives his task when the form was "rejected", an error appears in the Error Logs: The file <task xml> is locked for exclusive use by <originator>. The <task xml> is the name of the InfoPath task hidden inside the workflow.
The strange thing is that the form is successfully submitted, and after that the InfoPath task (with the same name as found in the error logs) appears in the document library to which the workflow is attached.
I googled a bit first, and I only found one solution that made sense: configure the workflow timer job to schedule faster (e.g. on a 1 minute base) and inject a Pause in the K2 blackpoint flow. I implemented this solution, but with no success.
Has anyone encountered the same problem and knows how to help me out?
Any help would be appreciated, I'm kind of stuck :-)
Kind regards,
Klaas Lauwers