Task to be generated 7 days prior to termination date using flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 03:08 AM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 03:22 AM
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 🙂
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 03:23 AM
Hi,
so the effective date of termination is a variable on your record producer which generated the HR case?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 04:07 AM
yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 04:40 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader