This article outlines the operational procedure for the systematic purge and maintenance of the Workpoint runtime database within CA Identity Manager and Identity Suite. As workflow-intensive environments scale, the administrative removal of legacy, completed, and canceled job data becomes essential to ensure the continued stability and responsiveness of the workflow engine.
This technical guide provides Database Administrators (DBAs) and System Engineers with the SQL commands and service management protocols required to optimize database performance, prevent application-server resource exhaustion, and maintain efficient processing of workflows and tasks.
Identity Manager 14.5
The Workpoint workflow engine maintains a persistent record of every process instance (WP_PROCI) and its associated task history to ensure auditability and state recovery. Over time, the accumulation of high-volume transaction data leads to several critical issues:
WP_PROCI table increases the overhead for the workflow engine when querying active process states, leading to "In Progress" tasks sticking or timing out.To prevent data corruption, record locking, or JMS queue log flooding, follow these shutdown steps:
Execute the following SQL command to identify and mark jobs for removal. The WHERE clause should be adjusted to target your specific date range or job states (State 4 = Canceled, State 5 = Completed).
spWP_DELETE_JOBS. This will permanently remove all records marked with LU_ID = 'Delete Job'.Note: The WHERE clause can be adjusted to filter by specific date ranges or other attributes depending on your business requirements.
To speak with a customer representative or a Support Engineer see . Scroll to the bottom of the page and click on your respective region.