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 188.8.131.52, 184.108.40.206 and new, improved ones in 220.127.116.11. Now, the scripts from 18.104.22.168 (which are better) have been backported to 22.214.171.124 and 126.96.36.199 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.