Access Denied - SP.RelatedItemManager.addSingleLink? SharePoint Desinger Workflow

%3CLINGO-SUB%20id%3D%22lingo-sub-1446773%22%20slang%3D%22en-US%22%3EAccess%20Denied%20-%20SP.RelatedItemManager.addSingleLink%3F%20SharePoint%20Desinger%20Workflow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1446773%22%20slang%3D%22en-US%22%3E%3CDIV%3EWe%20have%20developed%20a%20multi%20step%20approval%20workflow%20on%20a%20document%20library%20using%20Sharepoint%20designer%20that%20involves%20taking%204%20approvals%20one%20after%20the%20other.%20Inside%20the%20Main%20WF%20we%20have%20incorporated%20sub%20workflows%20that%20changes%20the%20permission%20on%20the%20file%20during%20different%20workflow%20stages%20to%20protect%20the%20document%20from%20change%20during%20the%20workflow.%20We%20are%20using%20WF%202013%20for%20the%20main%20workflow%20and%20WF%202010%20for%20the%20sub%20workflows%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22135kb1_Mohamed%20ELShaffei.png%22%20style%3D%22width%3A%20671px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F197093iB4CCB02D38F1A299%2Fimage-dimensions%2F671x494%3Fv%3D1.0%22%20width%3D%22671%22%20height%3D%22494%22%20title%3D%22135kb1_Mohamed%20ELShaffei.png%22%20alt%3D%22135kb1_Mohamed%20ELShaffei.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3ECurrently%20we%20are%20experiencing%20an%20Access%20denied%20error%20that%20appears%20in%20the%20workflow%20status%20page.%20This%20error%20prevents%20the%20workflow%20from%20moving%20forward%20keeping%20the%20WF%20stuck%20for%20several%20hours%20and%20then%20disappears%20by%20itself%20and%20the%20WF%20continues.%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3EThe%20Error%20message%20mentions%20that%20the%20access%20is%20denied%20for%20SP.RelatedItemManager.addSingleLink%20end%20point%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3EI%20have%20done%20some%20research%20and%20found%20out%20that%20RelatedItemManger.addSingleLink%20method%20accepts%206%20parameters%20of%20the%20related%20items.%20in%20this%20case%20the%20related%20item%20is%20the%20file%20on%20the%20Document%20Library%20(related%20to%20the%20task%20created%20by%20WF).%20I%20am%20not%20sure%20why%20does%20the%20access%20gets%20denied%20and%20after%20several%20hours%20it%20resolves.%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3EAnybody%20experienced%20the%20same%20problem.%20Appreciate%26nbsp%3Bthe%20help%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1446773%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor
We have developed a multi step approval workflow on a document library using Sharepoint designer that involves taking 4 approvals one after the other. Inside the Main WF we have incorporated sub workflows that changes the permission on the file during different workflow stages to protect the document from change during the workflow. We are using WF 2013 for the main workflow and WF 2010 for the sub workflows

 

135kb1_Mohamed ELShaffei.png

 

Currently we are experiencing an Access denied error that appears in the workflow status page. This error prevents the workflow from moving forward keeping the WF stuck for several hours and then disappears by itself and the WF continues. 
 
The Error message mentions that the access is denied for SP.RelatedItemManager.addSingleLink end point
 
I have done some research and found out that RelatedItemManger.addSingleLink method accepts 6 parameters of the related items. in this case the related item is the file on the Document Library (related to the task created by WF). I am not sure why does the access gets denied and after several hours it resolves. 
 
Anybody experienced the same problem. Appreciate the help
0 Replies