Form section changes not getting captured in update set

Community Alums
Not applicable

I am facing an issue while i tried to modify record in sys_ui_form_section table. It is not getting captured in update set.

Below is my requirement. How can i do it and capture in update set.

find_real_file.png

 

 

1 ACCEPTED SOLUTION

@goutam 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Are you saying if you delete the form section from form sections table then it didn't get captured in update set.

Did you try to update it from form sections table?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Community Alums
Not applicable

I am trying to delete record on sys_ui_form_section table. Which store form & Form section relationship.

If it delete this record from table. That delete activity is not getting captured in update set. Update set is still empty without anything captured

find_real_file.png

Hi,

If you don't have that form section in the next instance then you can ignore if the delete not got captured in your update set

Regarding the rename -> rename it and then use this script to add it to update set

Run this script but before that ensure you are in correct update set

//Query for the record
var rec = new GlideRecord('sys_ui_form_section');
rec.get('973c8e8a9d022000da615b13b3a22f32'); // sys_id of the record
//Push the record into the current update set  
var um = new GlideUpdateManager2();
um.saveRecord(rec);

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@goutam 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader