The Workpoint database schema is created during the IM install process, together with all other IM databases and, by default, part of the same DB object store instance / SID.
The table called WP_PROCI is the only table that contains actual jobs (i.e. Work Items). These are the objects we see when we log into the IME (Identity Manager Environment) and select View My Worklist task.
The spWP_DELETE_JOBS is a stored procedure which comes with the installation.
For SQL DBs you can find it under your IM DB instance -> Programmability.
Identity Manager 14.x
Key points to consider before taking any action with this stored procedure (SP):
PROC_STATE_ID NAME
1 Planned
2 Active
3 Error
4 Canceled
5 Complete
6 Suspended
7 Created
Below are the commands – in order – needed to run for deleting jobs from workpoint DB. In this example we will remove a job with PROCI_ID = 2077:
update [imdb].[dbo].[WP_PROCI] set proc_state_id = 4 where proci_id = 2077
update [imdb].[dbo].[WP_PROCI] set lu_id = 'Delete Job' where proci_id = 2077
execute spWP_DELETE_JOBS