We often get questions about how to manage purging old data (finished processes instances, task histories, etc.) from SOA and BPM 11g when those data are no longer wanted.
There are some scripts provided to do this in 184.108.40.206, 220.127.116.11 and new, improved ones in 18.104.22.168. Now, the scripts from 22.214.171.124 (which are better) have been backported to 126.96.36.199 and 188.8.131.52 so that customers who have not upgraded yet can also take advantage of the updated scripts. For more information on this, please log on to My Oracle Support and take a look at Note 1297250.1, and patch 10297850.
In addition to this, Demed L’Her from our product management team has posted some more detailed information about the various options available here.