Displaying Name v. UserID in 'updated_by' in list views?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2016 03:00 PM
Hi, all
My current gig is working with a company that uses a numeric UserID, and have the user's name (concatenated from AD First and Last Names) in a separate field.
Some fields (Assigned to, etc.) in List View are displaying Name - but Resolved By and Updated By are displaying the numeric UserID.
I was able to update the dictionary entry for Resolved By successfully, and I found the Dictionary Entry for Updated By on the Task table (sys_updated_by) , but none of the fields are editable that I can see,
What painfully obvious thing am I missing here?
Thanks!
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2016 03:31 PM
Problem here is that sys_updated_by isn't a reference field. and some background stuff to update that field. I guess that's why it's all read only.
Not much of a help here thou

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2016 10:20 PM
Some context on sys_updated_by:
Every record in ServiceNow has sys_updated_by and sys_created_by. i think of these as 'metadata'.
Some records may come from another system, alas these system fields don't reference another record in the system.
For example, you may install an application on the store. The people who created the records won't have user ID's in your system, so it makes sense to have this meta data as strings. This is a key reason (in my view) for the design decision by the vendor to do this.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2016 02:08 AM
Any reason you'd not want to add new fields and have a business rule which converts your numeric UserID to a more useful value in your new fields on change of sys_updated_by and sys_created_by?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2016 08:43 PM
For most builds we add a resolved_by,closed_by and opened_by user fields that reference the User table.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022