Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Bulk Dynamic CI group request

Passion_of_SNOW
Tera Contributor

I have a requirement to bulk-create 28 Dynamic CI (cmdb_group_contains_encoded_query) groups. I now have to create an Excel template for the client to fill in the details. The idea is to map the Dynamic CIs to Technical Service Offerings later on (or at the same time).

1. Is it possible to bulk-create the Dynamic CIs with the filter conditions?
2. Where do I start? Do I bulk create the CMDB groups first in the CMDB_group table? 

Passion_of_SNOW_0-1777556217922.png


3. Do I then bulk create the Dynamic CIs in the  cmdb_group_contains_encoded_query table?

4. How do I apply the filter conditions?
5. Do I use the background script run or the Transform map?

 

Seems that the filter conditions are saved in a different table called cmdb_group_contains_encoded_query.

6. How does that work? 

Passion_of_SNOW_0-1777556637394.png

 



7. Does the Dynamic CI and CMDB group have a 1:1 relationship? 

1 REPLY 1

Tanushree Maiti
Kilo Patron

Hi @Passion_of_SNOW 

 

Refer this : Synchronize data using a technical service offering 

https://www.servicenow.com/community/common-service-data-model-forum/how-to-relate-dynamic-ci-groups...

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: