CMDB Data Manager runs life-cycle policies that retire, archive or delete configuration items (CIs), and exclusion lists can hold back chosen records. Retire, archive and delete policies cannot be saved until each class they target has an active retirement definition. This guide covers the three pieces in the order you need them, using the Brazil release.
Policies, retirement definitions and exclusion lists play separate roles
A policy is the plan for one life-cycle event, and its policy type decides what happens to each target CI. Retire keeps the CI active. Archive moves it to an archive table. Delete removes it, and that cannot be undone.
A retirement definition states what “retired” means for a class in your environment, and retire policies set their targets to match it. An exclusion list works in the opposite direction: it names records that a policy type must leave alone.
The Get started area on the Data Manager overview links to the setup tasks. Set retirement definitions before you build a Retire, Archive or Delete policy, because those policy types cannot be saved until each targeted class has an active definition. For the wider ownership and audit side of this work, see the CMDB governance guide.
Retirement definitions must be active before life-cycle policies run
Retire, archive and delete policies need an active retirement definition for each class they target. Without one, the save fails with an error. Attestation has no such requirement, so attestation work does not wait on retirement planning.
Definitions are stored in the CMDB Retirement Custom Definitions table. Each one has an Active switch, a Table it applies to, and a condition builder that states what retired means for that class. The condition builder accepts AND clauses only, and OR clauses do not apply.
A child class inherits its parent’s definition unless it has one of its own, and each class holds a single definition. An active definition on the Configuration Item class can reach across the whole CMDB hierarchy, so a change there has wide effect. That base definition cannot be deactivated or deleted. Some base-system definitions ship inactive, so switch Active to true for any a policy will use.
Deleting a definition requires it to be inactive first, along with the sn_cmdb_admin and data_manager_admin roles. The class then falls back to its parent’s definition.
Dependent CIs need a plan before a retire policy runs
A retired CI can still have dependents. Left behind, they become orphan CIs, which weakens the consistency, accuracy and integrity of the CMDB. Turn on management of dependent CIs before running a policy against such a class.
Retire the CIs no longer needed first, then delete or archive them. Delete and archive policies act on CIs that are already retired, so a policy that runs before the retirement step has nothing to act on.
When Asset Management is active, check the asset record linked to each CI before retiring it. Its install_status should read Retired. A mismatch there is easier to fix before the policy runs.
Testing on a non-production instance first is sensible.
A policy moves through a fixed form sequence in CMDB Workspace
To create one, go to Governance, then Data Manager, then Policies, and select Create new policy. The form runs in a fixed order.
The General information page holds the name, description, policy type and work notes. Work notes are visible only to administrators. The policy type controls which fields appear on later pages, so choose it first.
The Data Filter page picks the source table and its conditions, plus an optional Related List Condition. Apply filters runs an impact analysis. Retire policies leave out CIs the definition already treats as retired, and archive and delete policies leave out CIs that are not yet retired. A Life Cycle Stage filter has no effect when the class definition is built on that attribute.
The Assignment page chooses who receives tasks: a User Field, a User Group Field, a Specific User (from users with the data_manager_user role) or a Specific User Group. For certification and attestation work, decide what happens when the assignment field is empty.
The Options page sets Days to complete, which caps how long a task may stay open, and the subflow that runs against each target CI. The subflow usually matches the policy type. Needs review adds an approval step; without it, tasks are approved automatically.
Retention time sets how long archived CIs stay in the archive table before deletion. A CI that has been archived, restored and archived again cannot be re-archived through Data Manager.
The Schedule page sets an on-demand run or a recurring one. The run-as user defaults to the DataManager Job Runner, and that user’s privileges decide which CIs the job can process.
The Review page offers Publish policy, which activates the policy, or Save and Exit, which keeps it as a draft for later.
Exclusion lists keep records out of a policy type
Open Governance, then Data Manager, then Excluded records. The list groups excluded records by policy type. To remove a record, select it, choose Remove from list and confirm, and that policy type can target it again.
To add records, select Exclude Records and fill in the Data Filter form with tables, filter conditions and, if needed, a Related List Condition. Apply filters, select the records, continue to the policy type page, choose the types the exclusion applies to, review the summary and save. The Certification policy type does not support exclusion lists, so exclusions set for other types do not stop a certification policy from targeting a record.
Reviewers can also add records to an exclusion list. Records excluded during a life-cycle or attestation task join the exclusion list for that task’s policy type and stay out of future tasks of that type. The effect is a standing rule rather than a one-off choice, so make sure reviewers with the data_manager_user role understand it before they use the option.
Publishing a policy starts a daily job and creates tasks
A daily scheduled job processes each published policy and assigns its tasks. A task holds up to 10,000 target CIs. A policy that targets more gets additional tasks automatically, so 30,000 CIs produce three tasks.
If the policy requires review, approval emails go to the group named in each CI’s Managed by Group attribute, and the subflow runs only after the task is approved. If a task is rejected, it is assigned to an administrator, who must manually intervene to resolve it. A CI with an empty Managed by Group sends its task to an administrator, so fill that attribute in advance. The CI Class Manager can populate it for a whole class in one synchronization.
A task left open and unapproved for 90 days is set to Closed Canceled by a daily job. That threshold is a system property.
Some targeted CIs are skipped. A CI can already sit in another task, or the run-as user may lack the privileges that CI or its class requires. The policy execution record shows the work notes and activities for each run, so use it to see how many CIs were skipped and why, then fix the policy or the user’s access.
Deactivate Policy, on the policy form, pauses a published policy without deleting it. Policies that fail evaluation are listed separately as invalid, and they require your attention.
The Data Manager overview and analytics pages show counts for policies and tasks, so problems surface before the daily job closes stale tasks.
Retire, archive and delete leave a CI in different states
The policy type sets the state a CI ends in. Retire leaves the CI active. Archive moves it to an archive table, where it can be restored during retention. Delete removes it with no route back to an active state.
Archive work runs in batches of 1,000 CIs.
A practical first step on a production class is a retire policy with a narrow filter. Read the skipped-CI reasons from the first run, then widen the filter.
Frequently asked questions
Why does my archive or delete policy refuse to save?
These policy types need an active retirement definition for each class they target. Check that the definition’s Active switch is on, and check whether the class is inheriting a parent definition. Save the policy again after that.
Does a retired CI disappear from CMDB Health?
No. A retired CI stays active in list views and in processes such as CMDB Health. Archiving is the step that removes it from those views.
What happens to a task that nobody approves?
A task that stays open and unapproved for 90 days is set to Closed Canceled by a daily job.
Can I stop a policy without deleting it?
Yes. Open the published policy and choose Deactivate Policy, which temporarily prevents it from running.
Do exclusion lists apply to certification policies?
No. The Certification policy type does not support exclusion lists.