Delete Archive Records

Sravani36
Tera Expert

Hi All,

we archived the alerts from the alert table. but now when we try to delete the archived records from the archive alert table these are not getting deleted (No option to delete). and when we try to restore using related links this was not restored with a message no action taken and not able to delete using the background script as well.

We just wanted to clear the noise of old alerts, how can we do so?

 

Thank you

 

3 REPLIES 3

Swapna Abburi
Mega Sage
Mega Sage

@Sravani36 

Are you referring to em_alert table? If yes, alerts are purged which are older than 90 days by default.

 


If you are referring to some other table then you need to configure destroy rules to delete archival data.

Hi @Swapna Abburi 

I have created the destroy rule and run it

Sravani36_0-1677129966816.png

Sravani36_1-1677130058005.png

 

But  still, i can see the destroyed alerts in the dashboard 

@Sravani36 

Please check if you have below OOTB auto flush rule active in your instance? this rule will delete all closed alerts which are updated 90 days ago. If you have this rule active, I think you don't need any separate archival or destroy rules.

https://<instanceName>.service-now.com/nav_to.do?uri=sys_auto_flush.do?sys_id=52583e26eb22110045e1a5...