The Zurich release has arrived! Interested in new features and functionalities? Click here for more

scheduled script i not executing

Priti18
Tera Expert

hi

I have one scheduled script which sends some kind of report every day but i dont know whats wrong that even though am using execute now ui button it  is not doing anything.

I used log in the first line of my code still not sure  what's the issue?

 

 

 

1 ACCEPTED SOLUTION

Hi Priti,

Refer this article; it talks on same thing

Backlog of jobs in sys_trigger with State: Ready that are not picked up to be processed though there...

If this is for client instance raise HI ticket with ServiceNow

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

18 REPLIES 18

Maik Skoddow
Tera Patron
Tera Patron

Without more details everything else is guessing. Plesase provide configuration details, screenshots or code snippets

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

please share some details such as screenshot or script etc

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Priti18
Tera Expert

hi both,

i have one scheduled script in which i have kept one script which is basically sending report based on few conditions but when i executed it does not make any changes.

So i kept logs in first, in between and in last line where the script ends but nothing came in logs

next i kept the same script in background scripts and executed and the script worked perfectly

so definitely its the scheduled job issue may be some configuration related but not sure though so need your help.

 

thanks

Hi,

So you are triggering scheduled report from scheduled job

It's triggering report when ran from background script but not from scheduled job

Check the scheduled job when to run etc

please share the screenshot of scheduled job configuration and script

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader