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.

Unable to Create Incident Using Scheduled Job

Hari S1
Tera Contributor

Hi, 

How can I create an incident weekly once using a scheduled job? I have tried, but I'm unable to create the incident from the scheduled job.  please help me?

 

 

Thanks

11 REPLIES 11

But Here In my PDI it's working.

Screenshot_35.png

Chaitanya ILCR
Mega Patron

Hi @Hari S1 ,

You don't have to write script for this unless the incident contains the dynamic content

create a template

ChaitanyaILCR_2-1740719835910.png

and create a record in Scheduled Entity Generation table(scheduled job)

 

ChaitanyaILCR_1-1740719663270.png

and select the schedule and template that was created.

ChaitanyaILCR_3-1740719970635.png

and click on execute now for testing

ChaitanyaILCR_4-1740720094751.png

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya