I am currently trying to move a workflow from one site onto another. It has imported correctly but I am getting a strange error. The forms on my workflow are producing this error whenever I press the submit button. I have researched this a bit and all answers seem to point to an automated task called Workflow auto cleanup which removes any older workflows.

However this does not appear to be the problem for me as I am working with new tasks and also I have tried turning this off. One thing I did notice is that the WorkflowInstanceID is missing from the URL after clicking the button. Whereas in the initial site it came from the WorkflowInstanceID is included.

So if the initial URL were:


Then after clicking the button it instead redirects to:


The task is recorded as completed but the fields that are filled in on the form are discarded. I am wondering if somewhere in the process the WorkflowInstanceID is set to null but am unable to find a fix for this.


When you're exporting and importing workflows you can only do this in the same site. If you need to copy (import) a workflow to another site the steps are a little different.

First, you create a blank workflow in the destination site using SharePoint Designer. Go back to the source workflow and copy its content. Paste the content into the destination site workflow, and save it with a descriptive name.

Delete the previous imported workflow, and try the new workflow in the new site.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.