Hi,
I have two sites (top level sites in separate collections) - SharePoint Online. SiteA is the source site and SiteB is the target.
Within SiteA I have a document library with many items in it, there is a workflow attached to this library that allows users to copy documents over to a document library on SiteB.
Copying files from the root of the document library on SiteA to the document library on SiteB works perfectly. However if I try and send a file that is within a folder in the document library in SiteA to the SiteB I get the following error
Exception: Object reference not set to an instance of an object.
For information I am using the “Copy Document From” workflow Action.
Source Address: company.sharepoint.com/site/sit … documents/[%Current Item:Name%].[%Current Item:File Type%]
Target Address: company.sharepoint.com/site/sit … documents/[%Current Item:Name%].[%Current Item:File Type%]
The document library on SiteB doesn’t have the same file structure as the library on SiteA i.e. there are no folders. I am assuming this might be the issue for the error?
Thanks in advance
Rob