We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Locate Sys ID

paradise623
Giga Expert

How do I find the sys id of a value on a field? 

4 REPLIES 4

Satishkumar B
Giga Sage

Hi @paradise623 
https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/table-admini...

Let's say you are using a business rule on a table that has a 'user' field that points to sys_user.

 

var sys_id = current.getValue('user');

……………………………………………………………………………………………………

Please Mark it helpful 👍and Accept Solution✔️!! If this helps you!!



SN_Learn
Mega Patron

Hi @paradise623 ,

 

Could you please share some screenshot to understand it better? Thanks

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

Mark Roethof
Tera Patron

Hi there,

 

You could have a look in the XML, when you have the record open > Additional actions > Show XML. Or you could also use the SNUtils trick, double click on the label of the field, and in a popup the value will be shown, in case of reference field it would show you the sys_id.

 

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

AndersBGS
Tera Patron

Hi @paradise623 ,

 

Please note that you need to go to the specific table and open the record for where the sysid is stored. A field in a table e.g. incident priority doesn't have a sysid within the incident table. 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/