- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 05:42 AM
I need to mark all emails in my test instance to send-ignored. Is there a way I can do it via bulk update? I have about 58000 emails as such.
Solved! Go to Solution.
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2022 05:49 AM
Hello,
You can do it in a back ground script or you can create a fix script for this .
To navigate to fix script follow below steps
1) Go to main page and in left navigation type in "Fix scripts"
2) Click on new
3)Paste the below script and save it
4) On the top right corner you can find a button called run fix script
5)Click on it and check the status of the email logs
Script:
var gr = new GlideRecord('sys_email');
gr.query();
while(gr.next())
{
gr.type="send-ignored";
gr.update()
}
Please accept the solution if you got any help from this script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2022 04:01 AM
Hello
Glad it helped you !
Please mark my answer correct and close the thread so that it will be helpful for future readers