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.

How to set scheduled tasks in ServiceNow

RacheleTashjian
Tera Contributor

I'm trying to set up a recurring scheduled task in ServiceNow, how do I do that?

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Hey,

Why don't you refer to Scheduled job or Flow designer(preferred) to generate tasks based either periodically or based on some condition.

You can refer to below article:
Possible to create Scheduled Task?

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

View solution in original post

5 REPLIES 5

Sagar Pagar
Tera Patron

Hi @Rachele Tashjian,

What do you mean by Scheduled Tasks?

 

Do you mean you have to create a Tasks based on some scheduled right? if yes, please refer below script as reference.

var createTsk = new GlideRecord('task'); // add required Task table name here
createTsk.initialize();

createTsk.short_description = 'Short Description here';
createTsk.description = 'Description here';

createTsk.assignment_group = 'assignment group sys_id here';
createTsk.state = 'state value here';

createTsk.insert();

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Aman Kumar S
Kilo Patron

Hey,

Why don't you refer to Scheduled job or Flow designer(preferred) to generate tasks based either periodically or based on some condition.

You can refer to below article:
Possible to create Scheduled Task?

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

That's exactly what I did.  I'm very new to the admin side of ServiceNow, but I found it and we're testing it now.

Thank you so much for your response!

RacheleTashjian
Tera Contributor

Here's the scenario, we have contractors/outside users accessing our systems and once a month that access needs to be reviewed.  So is there a way to set a task to let me know once a month that i have something i need to do for this particular task?