Hello
This is my first post, I've seen there is quite a lot of info in general but I'd like to have a fresh opinion.
We're on Sharepoint 2013, Nintex Workflow 2013 (3.0.8.0)
Very regularly, a scheduled workflow fails to start. We have multiple workflows that can be scheduled in different sites, and it's always the same one that fails, others seems to be fine.
When I go to this particular site, and try to display the Scheduled Workflows page (site settings -> Scheduled workflows) the page never shows and I eventually get an error after a few minutes.
The interesting part is that I've set up SQL monitoring to check what's going on and here is the weird thing:
I can see the following stored procedure taking 15 seconds to run:
exec GetScheduledWorkflowsForWeb @WebId='xxxx'
When I run the same query in SQL studio, it's instantaneous. Furthermore, there's only 550 rows which doesn't look like many.
My questions are:
- Is it safe to assume that there is a link between the performance problem to load the scheduled workflows page and the fact that they quite often fail to start ?
- The table has a number of items with NextRunTime = 9999-12-31, is it safe to purge them ?