I want to create a recurring Yearly RITM.

Ruchi Mehta
Tera Contributor

I have the catalog item ready and I tried to create a flow to submit the RITM but cannot find a trigger that can run the flow yearly. I can select 'repeat every 365 days but I would like to provide a specific date in the year to run the flow . How can I achieve this? 

 

2 ACCEPTED SOLUTIONS

Hi @Ruchi Mehta ,

 

of August 1st 

 

in that case update the condition field in the second screenshot with and give it a try

(new GlideDate().getMonth() == 8);  //8 for August

after all this is what trigger the flow and end of the day it's a scheduled job

 

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

Regards,
Chaitanya

 

View solution in original post

@Ruchi Mehta 

you will have to use script to handle this.

Flow is intended for low-code, no-code

Please use daily scheduled job and use Conditional field and use Condition field

When condition becomes true scheduled job script runs

// check if today is 1st August

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

View solution in original post

12 REPLIES 12

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Ruchi Mehta 

You can use a flow trigger and set a specific date or a time duration of 365 days.

 

DrAtulGLNG_0-1751372842625.png

 

*************************************************************************************************************
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]

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

Thanks Atul . I tried that but it does not accept a specific date ( There is no option to select a specific date ) and I tried to set it as 365 days but cannot specify the date for the first trigger. 

Hi @Ruchi Mehta 

 

In this case, you need to change the flow after the first trigger and then use this option:

  • First, set it to Run Once

  • After that, change the trigger to Repeat

DrAtulGLNG_0-1751373383277.png

 

*************************************************************************************************************
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]

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Ruchi Mehta 

when should it run every year?

on which date of the year?

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