what is the difference between queue and ready state in runscriptjob?

reeba1
Tera Contributor

Hello All,

I opened the workflow timer activity in scheduled job and changed the next action to after 5 minutes, The state changed from ready to queued. What does this mean? and what is the difference between ready, queued and running states?

ready.png

1 ACCEPTED SOLUTION

bernyalvarado
Mega Sage

If you see a job going from ready to queued most probably is because it already got executed and now it's back to queued.



Thanks,


Berny


View solution in original post

7 REPLIES 7

bernyalvarado
Mega Sage

Here goes how the documentation actually states it:



"After the offending jobs are cancelled, the scheduler picks up the next set of queued jobs, which should include any due or overdue WFTimer jobs that have been queued as Ready".



source: ServiceNow KB: Workflow Engine | How does a Workflow Timer help? (KB0647534)



Thanks,


Berny


bernyalvarado
Mega Sage

I hope this helps reeb!



Thanks,


Berny


Hello Berny,



Thankyou for your quick replies. Yes it was helpful to   me. 🙂



Regards,


Reeba