The CreatorCon Call for Content is officially open! Get started here.

Script which deletes the event queue records from sysevent [Event Queue] table

varunkumar1
Tera Contributor

Hi Team,

Do we have any OOB script which deletes the event queue records from sysevent [Event Queue] after certain amount of days/time.

Please share me if there is any OOB script.

 

Thannks

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Varun,

I found something around this; not sure if this is what you are looking foe

Schedule Job: Clean up events with NULL queue

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

DirkRedeker
Mega Sage

Hi

Why do you want to delete events at all?

You do not need to care about it.

Even more, if you delete events, you need to take care WHICH ones are really good to be deleted.

Let me know.

BR Dirk

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Varun,

Any update on this?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Megha Padale
Giga Guru

Hi Varun,

Refer this link, it might help you:

https://community.servicenow.com/community?id=community_question&sys_id=b5144fe5dbd8dbc01dcaf3231f96...

If my answer helped you in any way, mark answer as helpful and correct.

Thanks and regards,

Megha.