Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Bryan3
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'.