How to prevent Email Notification sent to Requestor when Bulk Closure of Req Item through Fix script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 05:51 AM
Bulk Closure of Req Item through Fix script should prevent Email Notification sent to Requestor.
How to prevent Email Notification sent to Requestor when Bulk Closure of Req Item through Fix script is performed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 06:01 AM
you can use setWorkflow(false) or setUseEngines(false) on that gliderecord object to disable them
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2023 07:27 AM
Hi Ankur,
Please let me know the script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2023 08:13 PM
I already suggested to use setWorkflow(false)
Did you try that?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader