Showing posts with label workflow SP2013. Show all posts
Showing posts with label workflow SP2013. Show all posts

30 July, 2013

Cannot find history for workflow with instanceId. It may have been removed from the database + Nintex 2010

One more NINTEX issue, today I am going to discuss some more details with respect to one workflow issue which has been configured using NINTEX.

Problem Description:
The “xxxname of the workflowxxx” workflow has ended unexpectedly for ‘xxxname of the itemxxx’.
“name of the workflow” failed to start.
Click here to view the workflow status.

As soon as we click on “click here to view workflow status” then we get the following exception.

Error Message:
Cannot find history for workflow with instanceId a39c080f-1215-47eb-7f7a-6242e3882e5e. It may have been removed from the database.


Troubleshooting done:
-Checked the SharePoint logs
-Checked the event logs
-Checked the NINTEX REPORTS based on that specific site collection
-Tried opening the site in Mozilla Firefox to debug by means of FIRBUG
-Checked the workflow history exist or not for that specific list

Resolution:
From the error message, we have a instance id of the list on which we are trying to check the workflow history.

Here are some links that I have referred to get the instance id:



But the strange thing was the item did not exist, how did I find out this? It’s very simple…

Let’s do some analysis on the error message again!!!
The “xxxname of the workflowxxx” workflow has ended unexpectedly for ‘xxxname of the itemxxx’.
“name of the workflow” failed to start.
Click here to view the workflow status.

-now try to click on name of the workflow item
-as soon as we clicked on that item then we got the following error message:
File not found.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: xxxx-xxxx-xxxx-xxxxx
Date and Time: xxxx-xxxxxx


From the above exception, it’s very clear that the item does not exist.
Issue resolved. We are good now…


If you have any queries/questions regarding the above mentioned information then please let me know, also if you have any additional resolution/valuable inputs apart from the mentioned above then please share so that it would be valuable for the complete community… Thank you.