Two tables on a single form

gustavo1
Kilo Contributor

Hi,
I'm looking the way to link two tables on the same form, but without using the reference fields.
I was reviewing the Incident module, and I realized there are two tables on the same Incident form (the Incident table and Task table), is not a reference field, the attached image explains what I'm talking about and is exactly what I'm looking for.
How can I get it?.
Thanks a lot for your support.

2 REPLIES 2

Vaughn Romero
ServiceNow Employee
ServiceNow Employee

The reason an incident form can have two tables displayed is that the Incident table is an extension of the task table (see screenshot of Incident table schema map). This means that the Incident table inherits some fields from the Task table. You cannot have two arbitrary tables on a form, there must be some kind of relationship between them: typically either a reference field or a related list. So for example, a Problem can have related Incidents. You can create a custom table that extends another table (see screenshot of the table creator).


Thanks for your support Vaughn, now it's clear the matter 🙂
Regards.