- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2019 12:22 PM
Hi SN developers!
I am trying to fire a notification when a priority 1 incident occurs. Here is the screen shots.
It works correctly when I create a new priority 1 incident or update the incident priority using "Update" button.
However, when I create a backgroud script and update the priority to 1 but the notification doesn't fire. Is there any advice? Thank you in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2019 11:57 AM
Hi Emily,
In your background script, you have gr.setWorkflow(false); this prevents business rules and workflows from running, hence your business rule does not fire the event.
Regards,
Phuong
If you find my suggestions helpful, please mark it as correct or helpful to help out others as well 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2019 11:42 PM
Hi,
since your script has setWorkflow(false) it is stopping email from being sent;
can you try to remove that and check once
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader