We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to automate Disaster Recovery (DR) Matrix in ServiceNow CMDB/ITSM?

VIvek V
Tera Expert

HI All,

Current Scenario:
We are manually updating our DR Matrix (Disaster Recovery) table every time a new Business Service is created. For each new service, we insert an entry in the DR table by adding the next sequence number (ex: DR001 → DR002 → DR003…).

Expectation:
When we create a Business Service (cmdb_ci_service), the system should automatically allocate the next sequence entry from the DR Matrix table and set it as an attribute on the business service record.

 

Required Guidance:

  • How can we auto-populate and allocate the next sequence from the DR Matrix table?

  • Should this be done using Business Rule, Script Include, or a combination of both?

  • Any best practice recommended for maintaining DR sequence values without conflicts?

------------------------------------------------------------------- ------------------------ ------------- -------------- ------------- ----------

#cmdb #itsm #disasterrecovery #servicenow #workflow #apm 

VIvekV_0-1763983907453.png

 

1 REPLY 1

Vijaya_Mnpram
Kilo Sage

@VIvek V  Simple Business rule on the cmdb_ci_service table on insert will do this. Write a script to glide the Disaster recovery table and make a new entry and map it back to the inserting record. You don't need Script include as there is no reusable code here.