Purge All Instance is an option in the BPEL console(10.1.3.4) which can be used to delete all the instances till date. But we have to be
too careful in using that.Since it can delete all the instances within 2 clicks even in production enviornment!!! ... Sadly its difficult to control that option even using role based security. Today I got the sililar requirement from the client to remove/disable the purge All Instance option from the console such that that mistakes never happens.
So I was searching in blogs / forums to that. Finally I found out a simple solution.
For periodic purging of the instances you can write the procedures on the database. The option in the console will be more tempting to purge the instances !!! (specially for newbies )