Sharepoint 2013 workflow issues and fixes

sharepoint 2013 workflow issues
InfoPath alternatives for form designing SharePoint

SharePoint 2013 has new feature Workflow Manager to develop complex workflows.
Very often we get some error while running and deploying workflows attached to any list or libraries. I will be sharing few issues and fixes which I have come across during project work.

Also check out:
– Hide left navigation using jQuery in SharePoint 2013

– Apply term sets as Global Navigation in SharePoint site using PowerShell and CSOM

– Change default infopath 2010 form submission error message in SharePoint 2010

Tips and Tricks:
– Don’t use system account to start workflow instance.
– Some time you face the error which might not have anything to with workflow code or instance.

– Check application pool WorkflowMgmtPool is started or not. Restart it.
– Service Bus Message Broker – Restart the service
– Service Bus Gateway – Restart the service
– Restart the WorkflowServiceBackend
– net stop WorkflowServiceBackend
– net start WorkflowServiceBackend
– Check Workflow Service Application Proxy service status is started.
– Do IISRESET

Issue-1:
RequestorId: 1464a045-89db-7d3b-0000-000000000000. Details:
RequestorId: 1464a045-89db-7d3b-0000-000000000000.
Details: An unhandled exception occurred during the execution of the workflow instance.
Exception details: System.ApplicationException: HTTP 404 {“error”:{“code”:”-2130575322, Microsoft.SharePoint.SPException”,”message”:{“lang”:”en-US”,”value”:”List does not exist.\u000a\u000aThe page you selected contains a list that does not exist. It may have been deleted by another user.”},”innererror”:{“message”:”List does not exist.\u000a\u000aThe page you selected contains a list that does not exist. It may have been deleted by another user.”,”type”:”Microsoft.SharePoint.SPException”,”stacktrace”:” at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)\u000d\u000a at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean

Fix – I have highlighted reason of the error. If we get such kind of error while starting a workflow instance, we have to check correct task list and workflow history list is mapped with the workflow.
Navigate to List Workflow settings.
Select the workflow to check the settings.
Conform it’s attached to valid Workflow task and Workflow history list.

sharepoint 2013 workflow issues
sharepoint 2013 workflow issues

Issue-2:
I had some issues in workflow as emails were not sent after approval process. I checked my code so many times and dint find any issue and finally below steps helped me to fix the issue.

– Check the user has proper email-id configured. You can got to user profile service, then search for particular user and confirm the email id.
– If the workflow approval has dependency on SharePoint group. Please verify if the group has users or not.

SharePoint 2013 workflow error
SharePoint 2013 workflow error

Issue:
RequestorId: 46e9b006-245a-27b7-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ArgumentNullException: Value cannot be null. Parameter name: Input 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)

Fix:
This issue happens if user doesn’t have access to the Task and History list. Create new task list and update list workflow settings for mapping to the new history list.

You can also check the existing list permission, if user doesn’t have access or it’s not inheriting the permission from the web.

Hope this will help.
Thanks,
Sambita

Similar SharePoint 2013 Tutorials


About Sambita Rath

I have 9 years of exprience into SharePoint implementation, architecture, Administrator, development and Training.Designing Information Architecture in SharePoint 2007, 2010,2013 and Office 365.

View all posts by Sambita Rath →

Leave a Reply