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.
Solved! Go to Solution.
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:
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 ).
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 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.
System Redesign Coordinator
910-488-2120 ext 7519