The CreatorCon Call for Content is officially open! Get started here.

How to not send the Approval Request Email for particular Catalog Items?

Navya43
Tera Contributor

Hi,

 I have 2 Catalog Items for which there is a workflow attached to it (a very basic approve/reject workflow).

Whenever these catalog items are submitted, an approval request will be sent to the assigned users. Is it possible to not have these approval request emails sent to the assigned users for these particular CI?

 

Or is it possible if we can just modify the approval email for these particular CI and not the other CI?

 

Please help, it's urgent!

 

Thanks in advance 

1 ACCEPTED SOLUTION

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Navya43 ,

Yes. You can add the condition in notification as below to exclude the catalog item by adding conditions

Click on condition then dot walk as below

Show related fields - Approval For Fields-Requested Item Fields- Item

GunjanKiratkar_0-1669052068815.png

 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

View solution in original post

11 REPLIES 11

Yes, the notification is on approval table. But I'm still not able to reach Approval for Fields. It is although giving the option for Approval for Task. Please help.

Navya43_0-1669094389125.png

Unable to reach Approval for Fields

Navya43_1-1669094459184.png

 

 

Hi @Navya43 ,

please select approval for -task fields

 

GunjanKiratkar_0-1669096079631.png

 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Could you please help me here with a notification on Request table as well. The notification 'Your Request has been approved' to be disabled for the catalog items

Mohith Devatte
Tera Sage
Tera Sage

Hello @Navya43 ,

I am assuming you are using Configuration item field on the RITM form so go to your approval request notification and then in the advanced condition  field you can try this script

if(current.sysapproval.sys_class_name=="sc_req_item")
{
   var gr = new GlideRecord('sc_req_item');
	gr.addQuery('sys_id',current.sysapproval);
	gr.query();
	if(gr.next())
		{
			if(gr.configuration_item=="your_ci_sys_id")
				{
					answer =false;
				}
		}
}

Screenshot 2022-11-21 at 23.29.31.png

Hope this helps 

Mark my answer correct if this helps you 

Thanks

Hi Mohith,

This script is blocking email notifications for all approval request. I just want it to not send out the emails for a particular catalog item.

 Please help.

 

Navya43_1-1669088169075.png