Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to display or add the Employee ID for reference variable field?

Vengeful
Mega Sage

 

Hi,

 

I have a variable Employee which is referencing to User [sys_user].

The screenshot below only displays the name and email address.

Vengeful_0-1716175397062.png

How can I display or add the Employee ID field?

 

1 ACCEPTED SOLUTION

maroon_byte
Mega Sage

Use Service catalog variables attribute: https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=employee_number,ref_ac_columns_search=true

 

Employee Name will be displayed regardless.

 

Regards,

Sharad

View solution in original post

2 REPLIES 2

maroon_byte
Mega Sage

Use Service catalog variables attribute: https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=employee_number,ref_ac_columns_search=true

 

Employee Name will be displayed regardless.

 

Regards,

Sharad

markmacheme
Giga Contributor

If you are using an excel sheet offline to keep a record to hold information then add the employee number if you have a specific number you are trying to input.