variable attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 01:08 AM
I have a requirement where their is one variable which is called as username which is a reference field I want to add variable attribute on this which fetches the name , dept name and location of the employee . I guess i need to use attribute ref_ac_column . But i dnt know how to do it for reference fields ,can somebody help me

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 03:25 AM
Hi
I think it should work, just use reference_field_name.dot_walked_field_name
For ex you want to show department head
ref_ac_columns=name;department;department.dept_head
Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.
Will be helpful for others looking for the similar query.
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2022 03:49 PM
Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.
Will be helpful for others looking for the similar query.
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 03:28 AM
Hi,
like this you can dot walk for department's field
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;department;department.id,ref_ac_columns_search=true
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 05:07 AM
No dot walking is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2022 12:19 AM
which field you want to add?
it should work fine
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;department;department.yourFieldName,ref_ac_columns_search=true
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader