How to update CMDB CI Attributes via catalog items/Service requests?

Suggy
Giga Sage
Customer wants to modify the few CI attributes (esp. non discoverable attributes) via service requests (catalog items).
Ex  1:  They might have a need to update the Owned by attribute for 5 windows servers by raising one SR
Ex 2: They might have a need to update the Owned by attribute for 5 windows servers and 2 Linix servers by raising one SR.
 
Once SR is submitted, the CMDB owner will review and approve. Once approved, the flow should make auto updates.
 
There are so many CMDB classes  and there could be many permutations and combinations like above examples. How can this be handled?
2 REPLIES 2

Mannapuram
Tera Guru

@Suggy You can add a field in Catalog Item, where the filed is referenced to the cmdb_ci and the variable type is a List Collector (don't forget to put Variable -> Type Specifications ->Variable attributes with value 'glide_list'). If they know the 5 windows server names and 2 Linux server names, they can add all of them to the list collector. 

Making the 'Owned by' to the specific user can be handled in the flow.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Suggy 

 

So, as you mentioned, just convert this into a Flow Designer process — it’s easy to do.

Trigger:

  • Service Catalog

Action:

  • Request approval from the CI owner (based on group)

Once approved:

  • Action: Update the record in the CMDB table

  • Run a lookup for the CI name

  • Use the 'Get Variables' action to retrieve all variable values

  • Then use those values to update the corresponding record"

https://www.servicenow.com/community/developer-forum/using-flow-designer-to-update-ci-s/td-p/2531622

https://www.servicenow.com/community/servicenow-ai-platform-articles/set-value-of-a-catalog-variable...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************