there are two options… Either u can directly delete the records from the audit and prt tables. Or you can archive them into the archiving tables and then delete from the archive table.
We have been successfully deleting the records tables without archiving it. But our archving service only runs successfully if MWS is successfully configured with IS using wMcomaouth package. Initially we ran into lot of problems using archving service and got issues with roles and permission of the schema user and issues with MWS. For e.g if we change the admin password for IS and does not update the new password in the wMMonitor package or in MWS the archiving does not work.
In case you want to archive the PRT and audit data and then delete it, you need to create archving table into another schema. webMethods_Monitor_User’s_Guide guide would give you some good pointers about the archiving.
Most of the time archiving does not work because of the insufficient grants to the archiving user. Try running the stored procedure directly from the database and see what happens.
#Integration-Server-and-ESB#webMethods#webMethods-Archive