Process data that is generated when a long-lived process is invoked can become too large, resulting in lower AEM forms performance and the use of unnecessary disk space. It is good practice to purge process data when records are no longer necessary. AEM forms provides several means of purging process data:
You can use administration console to perform a one-time purge of obsolete records related to long-lived processes, or to schedule regular automatic purges. (See Purge records from the Job Manager database.)
You can use the AEM forms Java API and web service API to programmatically purge process data related to long-lived processes. (See "Purging Process Data" in Programming with AEM forms.)
Use the process purge tool to purge processes based on the process name and other parameters. For details, see the process purge tool readme file, located in [aem_forms root]\sdk\misc\Foundation\ProcessPurgeTool\ReadMe.txt.