How to reference table

zrocky
Giga Contributor

Hello SN Community,

I'm adding 'Diagnosis' and 'Diagnosis Detail' in Known Error form. I'm having challenges on how to reference the table incident.u_diagnosis in order to populate that table in that new form. I made a new table Diagnosis, type: reference, reference: incident.u_diagnosis(this is the table I need to populate the choices under 'Diagnosis" in Known Error form vs. remaking all the choices. I figured calling that table will make more sense)

Thanks in advance!

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi Rocky,



In your field definition, you should have a type Reference (which you already do) and simply "point" it to the Diagnosis table.



Here's an example of the Requested by field on the Change form referencing the user table. Right click on the field label and select Configure Dictionary



find_real_file.png



In the reference specification section, set the Reference field to your table (in this case User).



find_real_file.png



https://wiki.servicenow.com/?title=Reference_Fields


View solution in original post

2 REPLIES 2

Chuck Tomasi
Tera Patron

Hi Rocky,



In your field definition, you should have a type Reference (which you already do) and simply "point" it to the Diagnosis table.



Here's an example of the Requested by field on the Change form referencing the user table. Right click on the field label and select Configure Dictionary



find_real_file.png



In the reference specification section, set the Reference field to your table (in this case User).



find_real_file.png



https://wiki.servicenow.com/?title=Reference_Fields


Thank you! I knew there was an easier way of doing things. I appreciate the quick response.