Skip to main content

A have a number of processes stuck in running state.


At this stage I don't know what is causing this, but my next problem is that is causes the workspace not to respons when I call for a task list.


I also need to delete these process instances, but the Management section in the workspce hangs when I try to delete these process instances.


Any ideas on how to delete these instances.

Running instances is a tricky one to solve as it can have many causes, infinite loops, incorrectly handled exceptions, etc.


First thing I'd recommend is to check your Host Server log files: Make sure error logging is enabled and check if there are any useful entries logged. Which version of K2 do you have installed?


Also, if this is a production environment, I would also encourage you to open an official support ticket, if you can't delete instances from Workspace, something is definitely knocking under the hood.


Thanks for the help dc.


It ended up being a call to a web service, which first times out but if more processes hits it, it stop timing out and then k2 just keeps on running.


I fixed this by renaming the web service and then restarting the k2 service.  This results in the processes going into error state rather than running state.


At least with it being in error state, the workspace worked again and I could look at the reports to see where my process broke.


 


Reply