Insert RITM based on date.

varma2
Mega Sage

Hi All,

 

I have a date field in Sc task, Once that data variable selected, I need to Tigered the New Ritm through the script. 

 

But here the condition based on that Date selected, After 10 days only it needs to Insert the New RITM through script.

For ex : Date is 1-12024 selected, New ritm should trigged after 10 days of selected on sc_task varible.

 

Please Suggest.

 

Thanks all. 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

You can try with Flow Designer

Trigger

Catalog

Wait for condition

 

and then action

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG ,

 

Yes, But unfortunately i need to do it though schedule job.

 

Please suggest.

 

Thanks,

Sorry mate, I am not a coder but here some baseline

 

https://www.servicenow.com/community/developer-forum/how-to-create-scheduled-job-to-auto-generate-ri...

 

https://www.servicenow.com/community/itsm-forum/scheduled-job-script-to-create-req-ritm-sctask-with-...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************