Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Variable attributes

si21
Tera Guru

Hi experts,

We can add multiple fields as attributes to reference field. 

si21_0-1726757152304.png

Question: We have added workday Id and email. Now Employee Name will display name,workdayId and email and user will be able search with these 3 fields.

Can we choose to hide workday Id from drop down of a variable but still user can be able to search with workday ID? 

 

TIA

2 ACCEPTED SOLUTIONS

d_17
Tera Expert

Brad Bowman
Kilo Patron
Kilo Patron

No, the searchable columns are only those displayed

https://docs.servicenow.com/bundle/xanadu-platform-administration/page/administer/field-administrati... 

You can add the ref_ac_columns_search attribute to enable auto-complete to match text in any column listed in the ref_ac_columns attribute. Set the ref_ac_columns_search attribute to true to match text from all reference field columns. By default (or when this attribute is false) auto-complete only matches text in the display value column.

 

View solution in original post

3 REPLIES 3

d_17
Tera Expert

@si21,

Its not possible

Sid_Takali
Kilo Patron

Hi @si21 use semicolon ;

Sid_Takali_0-1726759287817.png

 

Brad Bowman
Kilo Patron
Kilo Patron

No, the searchable columns are only those displayed

https://docs.servicenow.com/bundle/xanadu-platform-administration/page/administer/field-administrati... 

You can add the ref_ac_columns_search attribute to enable auto-complete to match text in any column listed in the ref_ac_columns attribute. Set the ref_ac_columns_search attribute to true to match text from all reference field columns. By default (or when this attribute is false) auto-complete only matches text in the display value column.