We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Source Data Definition clicking on Run Scheduled Job and want to see status of job complete

cbsden
Tera Expert

I have a scheduled job that I am manually running from a Source Data Definition record. I want to be able to see when the scheduled job is complete. Is there a log or a transaction history that will show me the status of the job when it is completed?

1 REPLY 1

Bert_c1
Kilo Patron

You can add:

 

// add at the top of the script
gs.info('myScheduledJob: Starting.');

// add before script/function completes
gs.info('mySchedluledJob: Ending.');

and then check Script Log statements and filter for message, contains, 'myScheduledJob'.