Tuesday, April 14, 2015

Relink InfoPath form using Nintex Workflow

In one of my recent project i wanted to copy InfoPath Form from one library to other- second library InfoPath Form template was exactly similar but included few more fields.

In second library i created workflow and used Update XML action, configure it as below

XPath Query


In second text box use PI information as below format.

name="urn:schemas-microsoft-com:office:infopath:LeaveForm:-myXSD-2015-02-27T14-45-21" solutionVersion="" productVersion="" PIVersion="" href="https://contoso/LeaveRequestArchive/Forms/template.xsn"


  1. Hello,
    thanks a lot for your post. It works great.

  2. Hi Sandip, I am getting error message: Error processing XML. The current node cannot contain other nodes.

    Can you help?

    1. It's very difficult to solve your issue just by seeing error message. Checkout this article for XML parsing in Nintex https://askmanisha.wordpress.com/2013/07/25/xml-parsing-using-nintex/