- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2017 01:23 AM
Hi Team,
We have Custom Notification code , which will send email to particular recipient.
For this we are trying to find out the solution as below
1. We already mentioned the property to ignore emails which is having undeliverable: as a subject , but it still receiving the undeliverable emails.
2. Even custom notification code I added the condition subject does not contains undeliverable (Even If I put this condition I am not sure whether will it stop receiving undeliverable emails).
Please check the attachment to know how we configured the notification, system properties and logs which we are receiving undeliverable emails.
Can any body suggest how can I stop/ ignore receiving undeliverable emails.
Regards,
Kiran
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2017 02:10 AM
Hi Kiran,
A business rule is required here instead of a notification.
Try adding a condition for subject containing "Undeliverable" and enforce setting the email type to received ignored.
If doesn't work then you can delete the record through script in BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2017 02:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2017 02:45 AM
Hi Gaurav,
Thanks for your information , I will try as above let see. How it will work
Regards,
Kiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2017 01:02 AM
Hi Gaurav,
I have implemented business rule.
I am having small query as below.
If notification and BR rule on the table say table abc(action given on insert for both notification and BR)will execute first notification or BR ?.
I want to execute BR first later notification is there any way we can do this.
I can see some configurations having order and weight will it help in this case.
Can you please suggest that how can I make that first it has to BR later notification.
Regards,
Kiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2017 01:16 AM
Hi Kiran,
Just keep the order of your BR to be less than 1000 which can be as high as 10.
Also, try to keep the weight of your notification very low as high weight takes priority.
Here is the order given for all script types.
http://wiki.servicenow.com/index.php?title=Execution_Order_of_Scripts_and_Engines#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2017 02:38 AM
HI Gaurav,
Notification I have given weight is 0 and BR I have given weight 100(Still I need to give 1000 only).
Will it work like first BR then notification has to execute.
Regards,
Kiran
