Display value is different on List view and Form view

pardhiv
Tera Contributor

We have a custom table extending Task  and state field shows a different values on list view vs Form View.

 

when I checked dictionary , task has Closed Incomplete as 4 (Shown on form view), Incident has Awaiting user info as 4 (Shown on List view).

4 REPLIES 4

Aoife
Tera Guru

That is due to the fact that Incident has custom values in the sys_choice table for State, but it uses the same numeric value for some of them.  The easiest way on a list view would be to show two columns, one for Task.State and one for Incident.State.  You have to be an admin and edit the list view directly to do this (or at least that used to be the case).

 

Aoife

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @pardhiv 

Possible scenarios as below :-

1) form field is different and list view field is different, that field might be dot walk from different table. Please cross check that.

2) There might be onload client script which can change the value when form loads.

Please check and confirm.


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

SuhasPSalunkhe
Kilo Guru

You have to pull right state field on listview.

Assuming you have use dictionary override functionality. 

Appli
Mega Sage
Mega Sage

Hi, State is available at the task level, please ensure it is shown (rather than Incident State [incident_state]) in both Form and List views.

Hope it helps