Reference record with sys_id but no display value

sruthi1
Tera Contributor

Hello,

 

I have a functionality where servers are imported into the system through import set. When server data is imported software installation records are automatically created. In this scenario there are some records with empty display value for "installed on"(reference: server) but contains sys id.

 

sruthi1_0-1671628992859.png

 

In this screenshot the installed on value is shown empty but when I group by installed on we can see there is sys id for that field.

Kindly help with this issue.

 

Thanks,

Sruthi

 

 

1 ACCEPTED SOLUTION

Hey again @sruthi1,
allright, then this is the solution to your initial question of why the display value is empty.
It is empty because the reference is invalid and it can't find a record to display.

The reason why these these records are missing could be your import error. 
You should further investigate them.

Best regards

Oli

View solution in original post

5 REPLIES 5

Oliver Stammler
Giga Guru

Hey @sruthi1,

there are two possibilities for this behavior.
First, have you checked that the display value field has a value? It could be possible that the for example "name" field is simply empty and therefore not shown.

 

The second option is that this record was deleted. 
It is possible, especially if records were created/updated by scripts including setWorkflow(false), that the reference was not correctly deleted and therefore the sys_id is still available for this reference but no display value since the record is deleted. 
In this case you often see the "i" button next to the reference field but if you click on it the sys_popup view shows "Record not found" since it was deleted.

In you case you eventually imported these records with an invalid sys_id for installed on. 

Best regards
Oli

Hello Oli,

 

Thanks for reply, we have imported server data, one of it is having state error in staging table. In the staging table target record is shown empty but it have sys id when I did show matching on the column. Is it possible that imported record with error are created and deleted again?.

 

sruthi1_2-1671632025457.png

 

 

I observed same sys id in the software installation record.

sruthi1_1-1671631867067.png

 

 

Hey,
have you tried to open the record with this sys_id on the corresponding table? 
Is the record available or not? 

Best regards

Oli

I have checked if the sys id in the Server table but didn't find any records