- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2017 08:36 AM
Hello,
I am very new to ServiceNow. When I submit a form on the Service Catalog, I receive two emails that I do not want. "[External]Request (request number)has been opened on your behalf" and "[External]Your request (request number) has been approved". Is there a way to disable these emails?
Thanks
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2017 08:06 AM
Add a condition to the filter: Item is not sysid (of the catalog item you want to exclude).
Regards,
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 10:40 AM
For the 'Request Opened on Behalf' notification, the sc_request is the source table. The catalog item is not available on this table, correct? It's only available on the sc_req_item table. And given it's based on a request insert/update, changing the notification to source from sc_req_item may not fly. This is what worked for me in the advanced script:
var gr = new GlideRecord('sc_req_item');
gr.addQuery('request',current.sys_id); // current is the sc_request
gr.addQuery('cat_item','<a catalog item sys_id>'); // perhaps set to a sys_property
gr.query();
if (gr.next()) {
answer=false;
} else {
answer=true;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 10:52 AM
Michael,
The code you posted here help me solve a problem that was driving me crazy over here: Re: Disabling Certain Notifications from Workflow
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2018 09:18 AM
Great. I'm glad it worked out.