Question On Notification

Community Alums
Not applicable

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.

 

PriyaSm_0-1701773915753.png

 

 

Can anyone please help me, how can i restrict this OOB Email for Only Termination.

 

Thanks,

Priya

19 REPLIES 19

Prince Arora
Tera Sage
Tera Sage

@Community Alums 

 

Can't you update the condition with the name of catalog item as below

 

PrinceArora_0-1701774373538.png

 

If my answer solved your issue, please mark my answer as  Correct & 👍Helpful based on the Impact.

 

Community Alums
Not applicable

Hi @Prince Arora 

 

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

@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:

 

PrinceArora_0-1701777673608.png

 

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.

@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.