Want to remove queue data after processing it successfully

Hi Team, I have a process which add a lot of data to queue every minute. After a while there will too much data in queue. So want to build a bot to purge data after a few days. wanted to know what the best approach regarding this? Thanks in advance

Hi @Ajith209
If you’re using On-Prem UiPath set up please use the database archive to archive all your queue data periodically so that if you want you can use that later.