Groups and Update sets

paradise624
Tera Contributor

Hi All,

Question: I added a role to a group however I noticed that the role did not get captured in the update set.. Is there a way I can have the role that was added to the group be captured in an update set so I can move it to the next environment.

Thanks!

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

There's a utility that is commonly used on the ServiceNow share site: https://developer.servicenow.com/connect.do#!/share/contents/9824957_add_to_update_set_utility?t=PRO... to assist with this, but normally, per out-of-box design, this information is not captured in an update set.

You would simply need to export that record via XML, for example, and then import that via XML to the other instance.

This is the same out of box for groups, group members, etc. Essentially all data records like that, unless you use the share utility I mentioned above.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

7 REPLIES 7

Allen Andreas
Administrator
Administrator

Hi,

There's a utility that is commonly used on the ServiceNow share site: https://developer.servicenow.com/connect.do#!/share/contents/9824957_add_to_update_set_utility?t=PRO... to assist with this, but normally, per out-of-box design, this information is not captured in an update set.

You would simply need to export that record via XML, for example, and then import that via XML to the other instance.

This is the same out of box for groups, group members, etc. Essentially all data records like that, unless you use the share utility I mentioned above.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen,

Exporting the XML of the group record will export only that record data, but because related lists are other table's records they won't get exported. Am I right?

Dipu Joy
ServiceNow Employee
ServiceNow Employee
Update sets are intended for configuration purposes and not for data. The use of third-party tools to capture data in update sets from tables (which are not extended from sys_metadata OOB) can be detrimental, as the business rules (BRs) for data manipulation will not function with update sets. Since update sets are backend transactions, they do not trigger the data flow via BR (role/group inheritance), potentially leading to orphan records.

 

To transfer data and maintain relationships from related tables, please use Import XML. The relevant tables are listed in the Knowledge Base section How can I exclude and Preserve Users, Roles, and Groups?

VyshnaviA
Tera Contributor

Hi, Are newly created groups captured in update sets or not ?

Because:  I Created update set and made it current update set.. while it was in work in progress, I created the new groups. After that I changed  the update set statue to complete, but the created groups not captured in update set.