How to stop sysapproval_approver push notification for particular catalog item

Ravi Gupta1
Tera Expert

Hi,

By default ServiceNow send push notification for all approval. I don't want to send approval push notification for particular catalog item.

Please suggest how this can be done.

 

Thanks

Ravi Gupta

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Ravi Gupta1 

Did you identify the push notification for approval table?
It should be one of these, check and add the correct advanced notification condition using script

AnkurBawiskar_1-1747198418981.png

 

var gr = new GlideRecord("sc_req_item");
gr.addQuery("sys_id", current.sysapproval);
gr.addQuery("cat_item.name", "Your Item Name Here");
gr.query();
answer = !gr.hasNext();

AnkurBawiskar_0-1747198372337.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Maik Skoddow
Tera Patron
Tera Patron

Hi @Ravi Gupta1 

 

Adjust the conditions of the existing approval notification to exclude the specific catalog item by following these steps:

 

  1. Navigate to the Notification:

    • Go to System Notification > Email > Notifications.

    • Locate the notification responsible for approval requests (e.g., "Approval Request").

  2. Edit the Notification:

    • Open the notification record.

    • In the When to send section, click on the condition builder.

  3. Set the Condition:

    • Use a condition to exclude the specific catalog item. For example:

      • [Requested Item > Catalog Item] [is not] [Your Catalog Item]

 

Maik

Hi @Maik Skoddow 

Normal approval notification should trigger for particular catalog item but we don't want the push notification to trigger.

Actually we have customized the approval notification for particular catalog item which is having three option: 1. Accept 2. Reject 3. Send Back.

 

We are doing some operation when 'send back' is clicked by the approver. But in push notification we have not changed anything and 'Send Back' feature is not there. So we don't want to trigger the push notification for particular approval.

 

Push notification when opened in Mobile App shows the 'Reject', 'Approve & Comment', 'Approve'. Currently we have not modified it. So don't want approver to get push notification.

As of now they can get 'Send Back' option through email notification only.

 

Please assist.

Thanks

Ravi

phgdet
Mega Sage

Hi @Ravi Gupta1
What do you mean by push notification? Is it a notification at the top of your record or is it an emai?

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Ravi Gupta1 

Did you identify the push notification for approval table?
It should be one of these, check and add the correct advanced notification condition using script

AnkurBawiskar_1-1747198418981.png

 

var gr = new GlideRecord("sc_req_item");
gr.addQuery("sys_id", current.sysapproval);
gr.addQuery("cat_item.name", "Your Item Name Here");
gr.query();
answer = !gr.hasNext();

AnkurBawiskar_0-1747198372337.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader