Business Service not being logged in Update set

mgomez29
Tera Contributor

I created a new business service in test however it is not being logged in my update set anywhere. Are business services not tracked in update sets? Would I just remake that bit in production and only retrieve my sets for my workflows and order guides?

1 ACCEPTED SOLUTION

Chaitanya ILCR
Kilo Patron

Hi @mgomez29 ,

 

only the tables with "update_synch " attribute set to true will be captured in the update set

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0535262

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0656394

 

Business services are considered as data and the attributes update_synch is not add to that table

to add that record to the update set you can run below code

var recGr = new GlideRecord("your table name"); //add your table name

if (recGr.get('sysid of your record')) { //add sysid of the record
	var updManager = new GlideUpdateManager2();
        updManager.saveRecord(gr);
   
}

or you can take the xml of the record and import it to target instance

 

you can use this Add TO update set project

https://developer.servicenow.com/connect.do#!/share/contents/9824957_add_to_update_set_utility?v=8.7...

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

View solution in original post

1 REPLY 1

Chaitanya ILCR
Kilo Patron

Hi @mgomez29 ,

 

only the tables with "update_synch " attribute set to true will be captured in the update set

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0535262

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0656394

 

Business services are considered as data and the attributes update_synch is not add to that table

to add that record to the update set you can run below code

var recGr = new GlideRecord("your table name"); //add your table name

if (recGr.get('sysid of your record')) { //add sysid of the record
	var updManager = new GlideUpdateManager2();
        updManager.saveRecord(gr);
   
}

or you can take the xml of the record and import it to target instance

 

you can use this Add TO update set project

https://developer.servicenow.com/connect.do#!/share/contents/9824957_add_to_update_set_utility?v=8.7...

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya