List field displaying sys_id rather than name after being saved

Sam Ogden
Tera Guru

Hi All,

We have created a list field on our incident table called u_escalated_to.. This is a reference to the sys_user_grmember table and has a simple filter of Group is SM Managers.

When you first select the name in the list it displays correctly.

find_real_file.png

Once you save the record it is displaying as the Sys_ID

find_real_file.png

Any suggestions on how to get it to retain the name rather than the sys_id?

Any help is greatly appreciated

Thanks

1 ACCEPTED SOLUTION

Sorry Sam. Mistake on my part. Go to the script include and change the line:



list.push(grm.getValue('sys_id'));



to



list.push(grm.getValue('user'));



The list was creating a bad list of sys_ids.


View solution in original post

36 REPLIES 36

Cheers Chuck,



Apologies, I thought I'd added a screenshot.   Below is the current setup of the dictionary of that field:



find_real_file.png


Sorry Sam. Mistake on my part. Go to the script include and change the line:



list.push(grm.getValue('sys_id'));



to



list.push(grm.getValue('user'));



The list was creating a bad list of sys_ids.


HI Chuck,



I've made the change but it still doesn't seem to be filtering.   The script is:



find_real_file.png



Thanks for your help so far and your patients!!


Odd, it seems to work fine for me. I've got my group name set to "Service Desk" which has three members.



find_real_file.png



Have you checked the logs for any signs of trouble?



System Logs> Errors


System Logs> Warnings


Hi Chuck,



Apologies not replied in a while.   Mine is set to SM Managers which has :



find_real_file.png


But it is still not filtering and dragging through all users:



find_real_file.png



Which logs should I be looking at? do I need to add anything to the script for these logs?



Thanks