Flow question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 10:39 AM
I have a requirement to generate some tasks and notifications when the date difference s 120, 90 and 30 from today's date. What is the best way to do it. I am trying to do it in a flow but not sure if this is the right way. I am trying to save in a field the difference between the dates and i will have to create scheduled job for that. But in the flow how can I accomplish this on creating tasks and notifications? I am triggering the flow on create of the case and create first task then do I use Wait for condition and look for the difference?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 11:26 AM - edited 08-04-2025 11:32 AM
hi @samadam ,
Use the relative duration in flow:
- Relative Duration: Wait for a specific time period from a selected Duration data pill or date/time value, such as 5 minutes after the flow start.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0958902
If my response helped, please mark it as the accepted solution ✅ and give a thumbs up👍.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 11:40 AM
Hi @samadam
May you consider this flow structure
Trigger: When a Case is created (or updated)
Condition: Check if target_date is not empty
Wait Until (Relative Date):
Wait until target_date - 120 days
Wait until target_date - 90 days
Wait until target_date - 30 days
After each wait:
Create Task
Send Notification