Not able to find the scheduled job

Saib1
Tera Guru

Hi ,

 

I am seeing the auto close incidents in Schedule (sys_trigger). 

 

Shohaib_0-1669629927544.png

But when i see that same name in Scheduled job (sysauto_list) . I did not found that same name?

 

Help me where could be hidden?

1 ACCEPTED SOLUTION

scheduled job creates a trigger once and it is called as per the interval.

I think it is configured like this only OOB as there is no mention of scheduled job in servicenow docs as well.

Refer: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0552820#:~:text=Autoclose%20I... 


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023

View solution in original post

4 REPLIES 4

RaghavSh
Kilo Patron

You will not be able to find the schedule job because it does not exist.

the fcScriptName (incident autoclose) is the name of an OOB BR on incident table which is run by this trigger.

 

If you open the Job ID of this script, it explains you how this works with this syntax.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023

@RaghavSh - Yes i saw the business Rule , but how does it trigger to schedule (sys_trigger) is getting added.

 

And also this doesnt have any condition , then how it will work?

 

Shohaib_0-1669631974320.png

 

scheduled job creates a trigger once and it is called as per the interval.

I think it is configured like this only OOB as there is no mention of scheduled job in servicenow docs as well.

Refer: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0552820#:~:text=Autoclose%20I... 


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023

Sebastian L
Mega Sage

It only exists in that table - it works the same way as a scheduled job, but here it is triggering a business rule and it runs every hour as you can see in your screenshot. So there is no record in sys_auto! 

 


Best regards,
Sebastian Laursen