SharePoint 2013 workflow issues and fixes

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

Tips and Tricks for SharePoint 2013 workflows

  • Don’t use the system account to start a workflow instance.
  • Sometimes 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: The page you selected contains a list that does not exist. It may have been deleted by another user.

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 the reason for the error. If we get such kind of error while starting a workflow instance, we have to check the correct task list and workflow history list is mapped with the workflow.

Navigate to List Workflow settings. And then select the workflow to check the settings.

Confirm it’s attached to a valid Workflow task and Workflow history list.

List does not exist SharePoint designer workflow error

Issue-2: Emails were not sent after the approval process

I had some issues with a workflow as emails were not sent after the approval process. I checked my code so many times and didn’t find any issue and finally below steps helped me to fix the issue.

Check the user has proper email-id configured. You can get to user profile service, then search for a particular user and confirm the email id.

If the workflow approval has a dependency on the SharePoint group. Please verify if the group has users or not.

Emails were not sent after the approval process sharepoint designer workflow

Issue-3: An unhandled exception occurred during the execution of the workflow instance

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 the user doesn’t have access to the Task and History list. Create a new task list and update list workflow settings for mapping to the new SharePoint workflow history list.

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

You may like following SharePoint workflow tutorials:

Here, in this tutorial we learned a few SharePoint 2013 workflow issues and the fixes.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>