Question On Notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 02:59 AM
Hi There,
I have one Requirement on Email Notification,
When the New Request is created at that time Requestor will receive one Out of the box Email, that is Request is opened on Your Behalf,
But Now in my case, for Termination Order Guide I need to add Some Other recipients in who will receive section.
When The Termination Request will Rise at that time One custom Notification should send and The Out of the box Notification, should not send(OOB Email should restrict).
But in my case, when i rise Termination Request at that time Custom Notification is Also triggering and The OOB is also triggering, but i don't want OOB Notification here,
For that i have set the below condition to restrict the OOB Notification, but which is not working.
Can anyone please help me, how can i restrict this OOB Email for Only Termination.
Thanks,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 03:06 AM
@Community Alums
Can't you update the condition with the name of catalog item as below
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 03:23 AM
Our Notification is on sc_request Table, so in Condition i can't see Item or any catalog related fields.
Please help how can i take conditions
Thanks,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 04:02 AM
@Community Alums
Do one thing update the view of notification as advanced (from the hamburger icon in the upper left corner) and there will be a box came up, you can write the script as below:
Script:
var gr = new GlideRecord("sc_req_item");
gr.addQuery("request",current.sys_id);
gr.addQuery("cat_item","04b7e94b4f7b4200086eeed18110c7fd");
gr.query();
if(gr.next()){
gs.info("here");
answer = false;
}
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 08:51 AM
@Community Alums
Did you get the chance to look into it
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.