Use ServiceNow OOB script include called -RecordFieldGetter to get a value of any field for any table from the Client Side.
RecordFieldGetter- An OOB ServiceNow Script include which can be used to get a value of any field from any table from the Client Side as shown below. Input Arugments- sysparm_name- Always getValuesysparm_table-- Any table namesysparm_sys_id- Sys_id ...
