Deleting a case
Use the IBM® Administration Console for Content Platform Engine to delete a case.
Symptoms
You delete the case folder but the
case is not completely removed. Some case items remain in the system.
Resolving the problem
Deleting a case comprises the following two main tasks:
- Promoting the case tasks and deleting the work items.
- Deleting the case folder.
Important: The following procedure deletes only the specified Case
Folder object and any associated task work items in the workflow system. This procedure will not
delete all metadata, objects, or references that are associated with the deleted case. Examples of
artifacts that remain after you delete a case are related cases, security objects such as proxies
and marking sets, audit logs, events, and analytic data that is maintained for Case Analyzer and case history. For this reason, deleting a case is not
recommended in a production environment because doing so might result with reference
problems.
To promote the case tasks and delete the
case work items, complete the following steps:
- In IBM Administration Console for Content Platform Engine, navigate to the appropriate domain, expand Object Stores, and click the name of the IBM Case Manager target object store that contains the case that you want to delete.
- After expanding the folders in the target object store, navigate to .
- Navigate to the task sequence folder:
For performance reasons, cases created on the same day are filed under a folder with a random number between 0001 and 0300. For example, Administration Console for Content Platform Engine and search the target object store to find the case.
. If a large number of cases are filed on the same day, you might need to use the Search function of the
. - Left-click the task_sequence. In the pane on the right, click the Tasks tab.
- In the State column, complete the following
actions for tasks that are in Failed or Working state:
- Click the task.
- Click the Properties tab.
- If the task is in the Failed state, and the value of the Disabled State property is 3, ignore this step and continue with step 6.
- For Failed or Working tasks that are not disabled, scroll down to the ID field and record its value. You will need the task ID in a later step when you remove the corresponding workflow.
- Go back to the task_sequence tab and close the task tab.
- Click Promote State. Verify that the task state is Complete.
- On the Tasks tab, select each task that is in Waiting or Ready state, and then click Delete.
- Close the window.
- Open the Process Administrator by going to Administer Work Items. The administration connection_point window is displayed. . Right-click the connection point and select
- In the Look for field, select Workflows.
- In the In field, select Workflow Roster, which is the same name as the solution.
- In the Search mode field, select Edit (all fields).
- Click Find Now.
- Click .
- In the Column Selection window, add F_CaseTask to the Selected Columns field, and then click OK. Verify that F_CaseTask is displayed in the Results window.
- Use the task ID from step 5.d to identify the workflow that is associated with each of the tasks that you promoted earlier. Right-click the workflow and then click .
- Click OK to confirm that you want to delete the work item or items.
To reuse documents from deleted cases, you must remove
the reference to the Associated Case object in the document property
before you delete the case. Otherwise, you will be unable to update
properties on the supporting documents from deleted cases.
- In Administration Console for Content Platform Engine, navigate to the task sequence folder: . For example, .
- Left-click the task_sequence. In the pane on the right, click the Contents tab and navigate to the supporting document folder, such as Correspondence.
- Left-click the document. In the new middle tab, select the Properties tab.
- Scroll down, left-click the arrow next to the Associated Case property value, and select Unset Value. Click Save.
- In Administration Console for Content Platform Engine, right-click the task_sequence (such as 000000100003), and then click Delete.
- Click OK.
To remove the case folder, complete the following steps:
- In Administration Console for Content Platform Engine, navigate to the task sequence folder: . For example, .
- Right-click task_sequence and then click Delete.
- Select Delete all objects and their content elements from all folders and then click OK.