Create change every second Tuesday of the month

Nisha Mishra23
Tera Contributor

I want to create a standard Change every second Tuesday of the month and it will end after 5 days. Is there any way to add this type of condition in flow designer

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Nisha Mishra23 

somewhat difficult to handle in flow designer.

please use scheduled job and condition to determine if it's 2nd Tuesday of month

then in the condition script check if it is 2nd Tuesday of month

refer these and enhance as per your requirement

job for Third Tuesday of each month

First Monday of Every Month

In script section create the change and add some unique description so that when you search for these changes created from job, you can close them after 5 days

Closure after 5 days can be done via Flow designer - Trigger Record Create, Wait for 5 days and then close

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

But if I am using scheduled job, it creates normal change by default

@Nisha Mishra23 

in your script you can determine which change type to create.

I believe I have answered both your questions

a) How to run script on every 2nd Tuesday of month

b) How to auto close after 5 days

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Nisha Mishra23 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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