dgarad
Tera Sage

Hi @saanvitha 

 

we can use Dot walking as

 

user.location.country_field.getDisplayValue();//to get the value of the field

or

user.location.country_field.getValue();//to get the sys_id of the field
If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad