How to Enable the Add to Update set Releated link

PRAGHATIESH S
Tera Expert

Hi,

 

I done few changes on Knowledge Bases and try to capture in the update set. But I don't have any option to capture it like Related link...

 

Can anyone help here..how to get that link in the Related Link

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@PRAGHATIESH S 

I think it's removed in latest release. you can still run a background script to use that utility

1. System Definition -> Scripts - Background

2. Add and run below code after replacing table that contains the record and sys Id.

//Query for the record
var rec = new GlideRecord('yourTableNameHere');
rec.get('sysId');
//Push the record into the current update set
var um = new GlideUpdateManager2();
um.saveRecord(rec);

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@PRAGHATIESH S 

I think it's removed in latest release. you can still run a background script to use that utility

1. System Definition -> Scripts - Background

2. Add and run below code after replacing table that contains the record and sys Id.

//Query for the record
var rec = new GlideRecord('yourTableNameHere');
rec.get('sysId');
//Push the record into the current update set
var um = new GlideUpdateManager2();
um.saveRecord(rec);

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

jonsan09
Giga Sage
Giga Sage