How to capture the changes done in sys_ui_list_element in update set?

Buddy 1
Tera Contributor

The changes done in sys_ui_list_element are not  capturing in update set. How to capture it in update set?

 

Thanks in advance

5 REPLIES 5

Saurabh Gupta
Kilo Patron
Kilo Patron

You can move through xml.



Thanks and Regards,

Saurabh Gupta

Is there any way to capture in update set

Hi, you can use the below utility for that.

       var tableRec=new GlideRecord('sys_ui_list_element');
       tableRec.get('661b34c8dba1030048a6e1aa4b96192a');//relpace with your record sys_id
       
        var updateManager = new GlideUpdateManager2();
        updateManager.saveRecord(tableRec);



Please mark the answer as correct, If I answered your query. It will be helpful for others who are looking for similar questions.

Regards
Saurabh





Thanks and Regards,

Saurabh Gupta

Here are some ways to do that :

https://servicenowguru.com/system-definition/manual-update-set-inclusion/ 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy