- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2016 01:36 PM
Hello Everyone,
I wanted to ask the community how to send out notifications when a change task has been assigned to a user.
Please let me know.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2016 06:19 AM
Business rule:
Notification (Top of form and when to send):
Notification (who will receive):
Note: We don't send ours to the event creator. If you assign a change task to yourself, you probably don't need an email telling you that you did. We also decided that using an event parameter as the recipient wasn't necessary.
Notification (what it will contain):
Below is a video of this all working together to make an email when a change task is assigned to a user:
If you're still not successful after this (like if the notification still says "Record inserted or updated" instead of "Event is fired"), that sounds like an issue with the ui policies on the notification page. Try toggling between Default and Advanced view to see if that makes a difference. Otherwise, this is as far as I can help you, and you'll need to get ServiceNow support involved directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2016 05:42 PM
Good screenshots!
The issue is your notification fires on Record Insert/Update and not Event Fires. Changing that should cause the email to go.
When I get to my pc later tonight, I'll whip toget her something small for you if you're still stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2016 06:08 PM
Hello Justin,
I did try to swap it to Event Fires with no luck.
I also noticed there was already an event registered for "change_task.assigned" but that doesnt seem to fire off either.
Could these errors be related to this:
getEventTarget() called with invalid record reference: change_task.b25b9ea82b3f5200980bc67319da1595 for event: metric.update, could have been deleted
getEventTarget() called with invalid record reference: change_task.f09e16e82b3f5200980bc67319da152c for event: live_feed.update, could have been deleted
and would this have relation to the error as well:
notification_engine.process
Any help would greatly be appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2016 06:26 PM
Fire the event without the date, and use the user's sys_id as a parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2016 06:31 PM
Hello Justin,
I apologize for not understanding your context but could you provide more descriptions on how to perform your suggestion.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2016 06:19 AM
Business rule:
Notification (Top of form and when to send):
Notification (who will receive):
Note: We don't send ours to the event creator. If you assign a change task to yourself, you probably don't need an email telling you that you did. We also decided that using an event parameter as the recipient wasn't necessary.
Notification (what it will contain):
Below is a video of this all working together to make an email when a change task is assigned to a user:
If you're still not successful after this (like if the notification still says "Record inserted or updated" instead of "Event is fired"), that sounds like an issue with the ui policies on the notification page. Try toggling between Default and Advanced view to see if that makes a difference. Otherwise, this is as far as I can help you, and you'll need to get ServiceNow support involved directly.