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

1st of August Every Year

@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

Chaitanya ILCR
Kilo Patron

Hi @Ruchi Mehta ,

with every scheduled flow there will be a scheduled job associated to trigger the flow 

goto scheduled jobs records 

put name Trigger:sysID of you flow

ChaitanyaILCR_0-1751373167729.png

 

 

open the scheduled job record and customize it as per you needs

use condition field for advance condition evaluation

ChaitanyaILCR_2-1751373451601.png

 

 

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

Regards,
Chaitanya

 

 

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

 

I could actually select a date here . Is this enough or do I still need to put a condition?