milianoo

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

Blog Post created by milianoo Employee on Dec 9, 2014

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:

1.PNG

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

 

1-1.PNG

 

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:

 

2.PNG

 

and the configuration is pretty simple as below:

 

2-2.PNG

 

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

 

Thanks, !

Outcomes