value seen in list view not appearing in the field view on form view?

patricklatella
Mega Sage

Hi all,

I've got a script in a workflow that is populating a field on requested item.   However my script is populating the field only in the list view of the record...not the actual form view of the record.

I'm troubleshooting this, but anyone know what might be causing this behavior?   thanks!

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Valor1
Giga Guru

This is typically due to a Display Value issue. Notice in your second screenshot the "i" icon?


If you can click on it (or hover) and get taken to the correct "b083368" record, you have a display value issue.



If you aren't taken to the record but instead see a "record not found" error, your workflow is populating a display value instead of the sys_id for that CI. This is a reference field, so you'll need to populate the sys_id if you want it to work.



Possible display-value issues:


  1. The display value for that extended CI class is set to a blank field
  2. the display value is set to a calculated field, and the CI hasn't been updated (make an incosequential change to the CI record and save, your display value will show up in this case)

View solution in original post

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Patrick,



Is the issue same for all the users?


Prateek kumar
Mega Sage

Hello Patrick


Is the configuration item field, on the list view and the form view are from the same table??



Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Valor1
Giga Guru

This is typically due to a Display Value issue. Notice in your second screenshot the "i" icon?


If you can click on it (or hover) and get taken to the correct "b083368" record, you have a display value issue.



If you aren't taken to the record but instead see a "record not found" error, your workflow is populating a display value instead of the sys_id for that CI. This is a reference field, so you'll need to populate the sys_id if you want it to work.



Possible display-value issues:


  1. The display value for that extended CI class is set to a blank field
  2. the display value is set to a calculated field, and the CI hasn't been updated (make an incosequential change to the CI record and save, your display value will show up in this case)

patricklatella
Mega Sage

thanks everyone for the replies...Valor your comment was correct, I needed to pull the sys_id of the record I needed in my GlideRecord query.   Punched that in and it works.



Thanks!