- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 09:23 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 09:35 AM
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
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 09:21 PM
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.
Unable to reach Approval for Fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 09:48 PM
Hi @Navya43 ,
please select approval for -task fields
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2022 06:06 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 10:00 AM
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;
}
}
}
Hope this helps
Mark my answer correct if this helps you
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 07:36 PM - edited 11-21-2022 09:09 PM
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.