Skip to main content

I am trying to create a workflow action to copy a document from one library to another after the workflow is complete. 

The process would be that the document needs to be signed and approved.  After that condition is met, the document is then uploaded to a different folder for all users to view.

To add to this.  I did add the Copy to SharePoint action.  It didn't seem to difficult, but it gives me a permission error:

"Failed to copy item. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))".


Does the user that is executing the workflow have permissions to perform that actions? Do they have permission to each library? The item? 

If you do not want to mess with permissions (and you have enough permission to perform the actions), you can add in an Action Set and set the Action Set to run as workflow owner:

204902_pastedImage_1.png

You would then simply add in you Copy actions into the action set. Any actions within the set would be executed as if executed by the owner (who hopefully has enough permissions happy.png).

Hope this helps!


I currently don't have access to assign permissions to this library and this may be the answer to my next question.  When I open that action set, my block stops at Disable.  It doesn't show Run as workflow owner. 


I do have access to permissions on another site and was able to access and perform the action with your method.  Thank you.


Are you running a site workflow or a list workflow?

In site workflows that option does not exist sad.png


Oh cool - you get it working then?


I am running it on a list workflow. But I figured my issue out by using a Copy Item and that seemed to work just fine without changing the permissions.

v/r

Preston Barrett

Preston Barrett

System Redesign Coordinator

Fayetteville, NC

910-488-2120 ext 7519


Yes, works great.

v/r

Preston Barrett

Preston Barrett

System Redesign Coordinator

Fayetteville, NC

910-488-2120 ext 7519


Reply