A CMDB remediation rule is associated with a task that was created for a failed CMDB health test. A CMDB remediation rule is applied automatically or manually to execute a remediation workflow that can, for example, delete stale CIs.

Before you begin

You must first create and publish a remediation workflow that addresses the CI issue, stored in the Workflow [wf_workflow] table. The workflow can be a regular workflow or an Orchestration workflow, and must adhere to the following requirements:
  • The table in the workflow must match the task type in the remediation rule.
  • The workflow isn't configured with any filter conditions by setting If condition matches to None, so that the filters of the CMDB remediation rule will apply.

For more information about using Classic Workflows, see Classic Workflow.

Role required: itil_admin (on top of itil)

Procedure

  1. Navigate to All > Configuration > CMDB Remediations.
  2. Select New and then fill out the CMDB Remediation Rule form.
    Field Description
    Name Remediation name.
    Task type Type of CMDB health-related tasks to apply the remediation to.
    Task filter Filters tasks to apply remediation to. Also applies dot-walking on CI fields so that remediation is applied to tasks associated with matching CIs.
    Execution
    • Manual: Remediation is applied manually.
    • Automatic: The workflow is applied once, upon the creation of a task that matches the Task type and Task filter.
    Active Allowing the workflow to run.
    Workflow The CMDB remediation workflow (regular or Orchestration) that will execute automatically or manually, depending on the Execution setting. You can click the Lookup using list icon, and then click New to create a new workflow.
  3. Select Submit.

Result

If Execution is set to Automatic, then the business rule Run remediations for CMDBHealth task applies the remediation workflow to CIs that match the Task filter. If Execution is set to Manual, then you can manually apply the remediation workflow defined in the rule.