Deleting CIs from a dataset by using the Delete activity
As a Configuration Manager, you can delete CIs and relationships from one or more datasets using a Delete activity. The Delete activity is similar to the Purge activity. For information about the Purge activity, see Purging soft-deleted data by using the Reconciliation Engine.
For example, Calbro services wants to permanently delete the CIs in a dataset where the attribute
$NULL$. They trust that they do not need these CIs, hence they do not use the
MarkAsDelete attribute to mark each of these CIs for soft-delete. Instead, they can create a Delete activity and permanently delete all CIs that match the specified qualification.
The delete activity performs a physical delete, not a soft delete, and deletes instances regardless of whether they are soft deleted.
Before you begin
Create a qualification ruleset to specify the instances and classes that are deleted. For creating a qualification ruleset, see Creating qualification rules for reconciliation activities.
Select Disable Progress Bar on UI During Job Execution to display only the number of CIs deleted.
Clear Disable Progress Bar on UI During Job Execution to get an accurate count of deleted CIs as well as their strong relationships.
To create a Delete activity
- In the Reconciliation console, click Create Job or open an existing reconciliation job.
See Creating and editing a customized reconciliation job.
- In the Activities area, click New to define a new activity.
- For Type, select Delete.
Enter the following information:
Type a unique name. The name must contain only those characters that the operating system of your server allows for file names. For example, on a windows server, your job name cannot contain the following characters: \ / : * ? " < > |.
Select a Namespace from the list. Only classes in the selected namespaces can participate in the activity. For more information, see Namespaces and reconciliation.
Active - runs the delete activity when the reconciliation job runs.
Inactive - Does not run the delete activity when the reconciliation job runs.
Continue on Error
Defines whether the job continues if the activity has an error.
Selected - The job continues to run even if an error occurs in this activity.
Cleared - The job terminates if an error occurs in this activity.
Specify the order that want this activity to run in relation to other activities in a job. For example, if this activity has a value of 2 it runs before an activity with a value of 3. The sequence can be from 0 to 1000.
- From the Dataset list, select the datasets from which you want to delete data.
- In the Additional Parameters area, select one of the following options.
- Identified & Unidentified — Both identified and unidentified instances are deleted.
- Identified — Only identified instances are deleted.
- Unidentified — Only unidentified instances are deleted.
- From the Qualification Set list, select a qualification set to define which classes and instances to compare.
To create a qualification set, click New/Edit Qualification Set. For more information, see Using Qualification Sets in reconciliation activities.
- To save the activity, click Done.
- In the Job Editor, click Save.