How to update CI's operational status after completion of task(s)?

Miraz Ahmed
Tera Contributor

Hello SN Community!

  My team wants to update CI(s)'s operational status automatically through it's lifecycle. I will try to explain what we want to achieve as much as I can.

   When the servers are build and discovered their operational status by default is 'Stabilization'. Later we use bulk upload to add 'Operational, Used by, Location, etc' to add/update non-discoverable attributes.

   When the servers are decommissioned a change request is opened and an approval request is generated. Only few key people can approve that. After the approval several tasks are created for different teams. Currently, after completion of the tasks the requester creates another change request to bulk update the decommissioned servers' operational status to 'decommissioned'. This an extra step.  

  What we want is: once all the tasks are  'Complete' it would automatically trigger the affected CIs' operational status to 'Decommissioned'. Is it something possible to do? Thanks in advance. 

 

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, you could look at configuring flow/workflow to deliver this.

Change also allows pre-configured cmdb_ci changes to be applied during the change_request lifecycle.

https://docs.servicenow.com/bundle/rome-servicenow-platform/page/product/configuration-management/concept/c_ProposedChanges.html

Thank you so much. That's very helpful.