Why is Workflow Timer Script is not firing?

Todd O
Tera Guru

I have a simple workflow that includes a timer activity.   I'm simply setting the answer to a value of 10 just for simple testing purposes. The problem is that the time just sits there and hangs. It never moves onto the next activity. The odd thing is that when I set it to zero, it works. But, any other value greater than zero and it sits and hangs. I'm hoping someone knows the solution. Thank you in advance.

Todd

answer = 10;

find_real_file.png

1 ACCEPTED SOLUTION

Your company's admin should have access to the Hi instance that we log issues, request enhancements, etc.



HI Customer Support Login


View solution in original post

12 REPLIES 12

I would like to clarify what I meant above. I inquired further about what was done and you can do this yourself to resolve. Basically, you need to restore the out of the box version of the Activity Definition for Approval - User. Just navigate to Activity Definitions. Then find the Approval - User activity. Finally, copy the script from an instance you know is out of the box from ServiceNow and apply this into your instance that is having problems. This has now worked for me several times.



The root cause was that someone messed up the script of the Approval - User. Just putting it back to out of the box is the solution. I hope this helps someone out there and it sent me on a spin for a bit. Thanks.


Todd


Michael Fry1
Kilo Patron

If you have access to HI, it's Number: KB0538055  


   


If the jobs are not processing at all it could be your schedulers are incorrectly configured. Check the node states (sys_cluster_state_list.do) and make sure at least some of the schedulers are set to "any". This happened to me after a clone.



find_real_file.png