Current Request sys_id on ui action

Vaishali 11
Tera Guru

How to get the sys_id of a current request in an ui action which is running on the task table?

 

 

 

Thanks,

Vaishali

16 REPLIES 16

Vaishali11_0-1671614488188.png

this is happening when i changed req_id to sys_id in gm.setPreference('sys_id',g_form.getUniqueValue().toString());

@Vaishali 11 you changed req_id to sys_id on UI page as well?

 

If yes then add log on UI page and check 

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023