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 01:00 AM
ensure flow runs as System user
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-13-2025 01:41 AM
Yes it System User.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2025 02:11 AM
Did you Test the flow using Test button? If yes then what's your timezone?
Ensure you set it with GMT to perform the testing
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-13-2025 02:27 AM
Hi,
I tested by changing my time zone to GMT.
Still it is not calculating the correct time.
I have one question. User will be in different time zones. Then how it will work if it calculates 2 hours.
Is there any other way to calculate only 2 hours?
Thanks,
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 03:42 AM
Add a subflow that gets the RITM and Date as inputs and just have it run in a 'do the following until' -> wait 2 hours, check on all open sc_tasks, for each, trigger notification to assignment group.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark