Saturday, December 13, 2014

Project Server 2013 Workflow suspended : Approval Tasks are not getting created when its assigned to Project Server default groups

Issue Description:

Project Server 2013 Workflow got suspended, approval Tasks were not getting created when its assigned to Project Server default groups ex: portfolio managers group, but its working when its assigned to individual users and SharePoint groups.

Error Message:

RequestorId: a946a760-bae1-6a2f-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}} {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["10"],"SPRequestGuid":["a946a760-bae1-6a2f-8752-4a24a5aa54d6"],"request-id":["a946a760-bae1-6a2f-8752-4a24a5aa54d6"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"Cache-Control":["max-age=0, private"],"Server":["Microsoft-IIS\/8.5"],"WWW-Authenticate":["Negotiate","NTLM"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4569"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Date":["Wed, 10 Dec 2014 00:53:50 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Cause:

Since the Project manager who is creating the project is not a member of that group, the user doesn't have permission to read the members, hence the workflow is unable to assign the tasks to the approvers.

Workaround:

 Change the setting of "Who can view the membership of the group" settings.

Steps:

 Open PWA , Site Settings , People and groups and click on the groups
Click on Group Settings
 

Group Settings:
Default is Group Members, change it to Everyone.









Register to get free online tour:
https://secure.projecthosts.com/PB_Registration.asp?PartnerID=300219&LDT=Tour 

MoreInfo: 
www.projectmadeeasy.com
info@projectmadeeasy.com

No comments: