@Ankur Bawiskar  can we call my function in Schedule job ?

@Santosh Oraon 

you call the schedule job; when schedule job runs it will run your script which has that function?

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

Santosh Oraon
Tera Expert

Requirement is like - In my script Include I have a function () if it returns Ture then this schduled job will run and trigger my Email notification also

@Santosh Oraon 

then why not write that scheduled job script within your script include?

no need to call schedule job then

if(function return value is true){

// your job script here

}

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

View solution in original post

Thank you let me check with this logic