- 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-08-2022 05:46 AM
Hi there!
Did you tried doing that using "Update all" option from List view.
Regards,
Palak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2022 08:44 PM
HI Palak, List view have a limitation on number of records to be updated. The fix script from Mohith helped.
- 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-10-2022 10:03 PM
Thank you