How-to Read an XML Value and Upload to Document Library

Not applicable
4 0 3,428

This is a simple example, on how to read an XML value from a workflow variable, InfoPath form, or document library, and upload it to a Document Library.

In this example I am going to read a field value from InfoPath From and then upload it to Document library in SharePoint Online.

First step is to create a new Workflow, and insert a Query XML action:


Then configure the action, (I just provide some simple inputs)


So far, we have configured the Query XML action to read a XML value, now we need to upload this value using Office 365 Upload File action, then please insert it to the workflow:


and the configuration is pretty simple as below:


and that's it. now publish the workflow and run it.

Thanks, !