Send notifications of all assigned group of the sctask after submission of the request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 03:06 AM
Hi All,
I have created a Termination form. (Termination variable- Date/Time type).
After form submitted, a approval will send to manager and after approval, 27 catalog tasks will create. (Added in the flow).
Requirement is:
"Starting 2 hours after the Termination Date and Time, For each Task which is still open, Notify all members of the groups which have not completed their tickets".
I was trying to create scheduled jobs but I am stuck how to add script to check for every 2 hours.
Please help me here.
Thanks,
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2025 08:42 PM
Hi @Viraj Hudlikar ,
After 2 hours of termination date notification will trigger to all active assignment group, but afterwards every 2 hours email will trigger to all active assignment groups. Will this script include runs every 2 hours?
Thanks,
Sam
Thanks,
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 03:38 AM
Do this
1) create a subflow which sends email i.e. notifies group members if the task is still open
2) Use do until in flow and invoke this subflow every 2 hours i.e. use Wait for Duration -> 2 hours and then invoke
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 03:42 AM
You can trigger a flow on sc_task on Record Created with RITM->Item == 'Your Item' and use Do Until
Send email until Task is open
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 05:25 AM
Hi @Ankur Bawiskar ,
How can I add condition that after 2 hours of Termination date/time in the flow.
Thanks,
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 05:40 AM
something like this
1) create flow variable which holds that RITM variable value
2) then use Wait for duration with this value using Relative
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader