This documentation supports the 20.02 version of BMC CMDB.

To view an earlier version, select the version from the Product version menu.

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 AccountID is $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.

Note

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

  1. In the Reconciliation console, click Create Job or open an existing reconciliation job. 
    See Creating and editing a customized reconciliation job.
  2. In the Activities area, click New to define a new activity.
  3. For Type, select Delete.
  4. Enter the following information:

    FieldDescription

    Name

    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: \ / : * ? " < > |.

    Namespace

    Select a Namespace from the list. Only classes in the selected namespaces can participate in the activity. For more information, see Namespaces and reconciliation.

    Status

    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.

    Sequence

    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.

  5. From the Dataset list, select the datasets from which you want to delete data.
  6. 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.
  7. 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.
  8. To save the activity, click Done.
  9. In the Job Editor, click Save
Was this page helpful? Yes No Submitting... Thank you

Comments