Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Deactivate and Activate the Record Producer between the Date range

dileep0146
Tera Contributor

Hi All,

 

I have a requirement that I need to make the Record Producer Active from Nov 1st and Deactivate the RP on Nov 19th.

 

Do I need to any scheduled script here or any option is available to make the record producer active and inactive between the dates

 

Please suggest

 

Thank you

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@dileep0146 

yes you will require either scheduled job or scheduled flow which runs on 1st Nov which will activate

Another scheduled job or scheduled flow which runs on 19th Nov which deactivates

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Hi @Ankur Bawiskar ,

 

Thanks for your reply.. Shall I create a flow for this? One flow to activate and another to deactivate?

 

Please suggest

@dileep0146 

correct

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Ehab Pilloor
Giga Sage

Hi @dileep0146,

 

You can make 2 scheduled jobs and activate/deactivate it.

 

Schedule it for particular dates as mentioned and let it get executed automatically.

 

Please Accept this response as Solution if it assisted you with your question & Mark this response as Helpful.

 

Kind Regards,

Ehab Pilloor