- 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: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-13-2019 05:01 PM
Thanks! It worked.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2019 12:05 PM
Hi Emily,
Strange. It should work. Can you confirm the recipient list once & make sure it has some values, also try chcking the Send to Event Creator flag to True & see the result.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of resposne.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2019 10:51 PM
Hi Emily,
May I know why do you need ' gr.setWorkflow(false);' in your script? Can you please remove this and check?