Task to be generated 7 days prior to termination date using flow designer

Ashmiya
Tera Contributor

 

 

We have a requirement to generate tasks under a parent HR Case where the tasks must be generated 7 days prior to effective date of termination? How to acheive the same through flow designer?

 

7 REPLIES 7

Aman Kumar S
Kilo Patron

You can achieve this by using a scheduled job or Flow designer(preferred)

Scheduled Job Script trigger notification 7 days before Due Date

Wait for a duration flow logic

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

so the effective date of termination is a variable on your record producer which generated the HR case?

Regards
Ankur

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

yes

Hi,

then you can use this in flow

1) flow triggers when HR case is created

2) then use custom action and get termination date; subtract 7 days from it; set the date/time to an output variable of type date/time

3) then use this in Wait for condition to wait before this date

Regards
Ankur

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