I have one site collection with one subsite.
I create a site workflow for technical reason.
I would like to use "Office 365 Upload file" action but i have an error :
"An exception occurred while processing parameter [InputFileToUpload]"
See my configuration below.
This is the "ServerRelativeUrl" of my document :
And i put this value on that field in Nintex Action :
I don't understand why this doesn't work because "ServerRelativeUrl" is the correct parameter if i see the nintex documentation, they say we have to put the relative url of the document "<LibraryName>/<MyDoc>.docx".
This value is returned from SharePoint REST API :
Thanks in advance to help me
Solved! Go to Solution.
This field requires a site relative URL. So if you have your workflow in the same site, as the library where you keep the file you want to upload, then from your URL:
only this part should be left:
Did you figure this out? I can't get a file to upload from a site doc lib to a subsite doc lib. Or perhaps I don't have the correct Destination site URL and the Folder Path. This is how i have it set up.
Hi @yoav_rappaport , hopefully you have managed to resolve this issue by now?
if not the error I can see on your screen capture is the destination site URL, you cannot use the 'WC:Current site URL' as it is the URL of the site you are executing the workflow from. you need to add the URL of the sub site in it.