Technical Workflow - Auto Recovery
I have created a utility workflow which monitors specific technical work flows to ensure they are running normally. If a work flow which should be running but isn't is found the following are executed to stop and restart it (using java script)
xtk.workflow.Stop(strId)
xtk.workflow.Start(strId)
The problem is that if the job has a scheduler it will wait until it's next scheduled start, what I need is a way to "Execute Pending Task Now" so that the job restarts immediately. I can see xtk:worflow methods for wakeup which looks like it might be want but I can't get it to start right away.
Is there away to start the workflow so that it runs immediately?
