- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 09:07 PM
Hello. Can someone please help me with the below requirement
Whenever an Incident or SCTASK is being reassigned and if there is no assignce for more than 24 hours an automated SNOW email is to be triggered to the support manager, the support group email of the reassigned group.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 09:36 PM
HI @James_9
You can accomplish this in no of ways. Either with Business Rule or Flow/Workflow.
With Business Rule -
Create a Business Rule: You'll need to create a business rule in ServiceNow that triggers whenever an Incident or SCTASK is reassigned.
Define the Condition: Within the business rule, define the condition that checks if the assignment group has changed and if there's no assignee for more than 24 hours.
Send Email Action: Implement an action within the business rule to send an email notification. This email should be sent to the support manager and the support group email of the reassigned group.
Set a Timer: Additionally, you can set a timer within the business rule to check if there's no assignee for more than 24 hours. If the condition is met, trigger the email action.
Testing: Ensure to thoroughly test the business rule to verify that it behaves as expected.
Flow/WorkFlow -
Create a Flow/Workflow: Depending on the version of ServiceNow you're using, create a flow (for newer versions) or a workflow (for older versions).
Trigger: Define the trigger point for the flow/workflow. This should be when an Incident or SCTASK is reassigned.
Condition: Implement a condition in the flow/workflow that checks if there's no assignee for more than 24 hours.
Send Email Action: If the condition is met, add an action to send an email notification to the support manager and the support group email of the reassigned group.
Testing: Thoroughly test the flow/workflow to ensure it functions correctly and meets the specified requirements.
Remember to consider any specific configurations or nuances within your ServiceNow instance while implementing this solution. Additionally, ensure that proper permissions are set for accessing and executing the flow/workflow.
Do give thumbsup if this works for you!
Thanks
Akshay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 09:19 PM
Hi @James_9 ,
To set up this requirement in ServiceNow (SNOW), you can create a Business Rule or Scheduled Job that runs periodically to check for Incidents or SCTASKs that have been reassigned and have remained unassigned for more than 24 hours. When such a case is found, you can trigger an email notification to the support manager and the support group email of the reassigned group.
Thanks,
Danish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 09:21 PM
HI @James_9
There can be approaches:
A
You can create a workflow which will involve timer of 24 hours and in every 24 hours send an email to the group manager via notification activity. In order to achieve this, follow below steps:
1. Create a new workflow from the 'workflow editor'
2. Add an 'If' condition activity(checking if 'assigned_to' is empty)
3. You will get two options- yes and No
4. Connect 'No' with the End activity
5. Create a new timer activity and select 24 hours
6. connect 'Yes' with the timer activity
7. Create a new email notification activity and add it with the output of timer activity
8. In the notification activity, define send to as 'group manager' or you can provide IDs
9. Connect the notification end with the'End' activity and publish the workflow from the header menu
B
You would need to set the notification Send When field to Event is fired. Then use a scheduled job to check if the field is assigned at whatever interval you need, and if it is empty, fire the event 24 hours which will trigger the notification
.
Please mark it helpful if it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 09:27 PM
Hi,
Step 1: When Incident or SCtask is being reassigned, store the date in a variable or field
step 2: Create a schedule job which runs daily to checks if the Incident or SCTASK is being reassigned, if so then check if it is more than 24 hours.
Step 3: Then trigger a notification from the schedule job using eventQueue method.
if you need the script, please let me know.
please mark it helpful if it was.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 09:59 PM
Scheduled jobs will be running at an particular time period. But I want the notification to be triggered after the reassignment happens after 24 hours.
For Example, a scheduled jobs runs on daily at 6am. But If I have an ticket which was assigned at 5pm, I want the notificaiton to be triggered at next day 5pm not on the schduled job running time i.e, at 6am