Create XML File Action
In the example we create an Infopath Form.
1. Add “Create XML File” Action to a SharePoint Designer 2010 Workflow
2. Configure Action
File Name: The name of the xml file e.g. test.xml
List: The list in which the xml file should be created.
Overwrite when exists: Overwrite the file when it already exists.
Variable URL: The absolute URL of the file
Variable Item ID: The List Item ID of the file.
I’ve copied the xml from an existing Infopath XML-File and set my:Field1 to the Title of the current List Item.
3. Publish and run the workflow
After the workflows has finished take a look at the target list:
Open the just created Infopath Form: