Why we extend table?

mukesh18
Giga Contributor

Hello Community,

I'm not clear about why we extend the table. Even if we insert records in the child table it gets populated in the base table.

please help me to get out of it.

 

Thanks In Advance!

1 ACCEPTED SOLUTION

Hi Mukesh,

Now in this case, if you see there will e different fields for Incident and Request. So will you keep all the fields in your task table records.

Like stage field is not required for incident but required for request. So when you will add this field to task it will display it for incident record and request record as well. This will only confuse the users and create complexity in the business flow.

So it is required to always extend the table if you want to use the default functionality of that table and want to customize it more instead of adding new fields to it.

 

Thanks,

Mohit Kaushik

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)

View solution in original post

11 REPLIES 11

Mohit Kaushik
Mega Sage
Mega Sage

Hi Mukesh,

Extending an existing ServiceNow table means the table you create will inherit the parent table’s columns as well as the table’s business logic. The most commonly extended table is the Task table.

Enable one or more child tables to share fields and records with a parent table. Administrators and application developers can only extend tables during table creation.

Administrators and application developers typically extend tables to create a set of related records that share information. For example, in the base system, the Task and the Configuration Item tables have multiple extensions:
 
Below is the link to refer more:
 
Please mark my answer correct and helpful if it resolved your query or helped you at all.

 

Thanks,

Mohit Kaushik

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)

Hi Mohit,

 

My question was even record is populating in child and parent table. then why we extend the table? can't we add simply columns that are needed to parent table?

 

Thanks,

Hi Mukesh,

Now in this case, if you see there will e different fields for Incident and Request. So will you keep all the fields in your task table records.

Like stage field is not required for incident but required for request. So when you will add this field to task it will display it for incident record and request record as well. This will only confuse the users and create complexity in the business flow.

So it is required to always extend the table if you want to use the default functionality of that table and want to customize it more instead of adding new fields to it.

 

Thanks,

Mohit Kaushik

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)

Megha Padale
Giga Guru

Hello Mukesh,

Extending an existing ServiceNow table means the table you create will inherit the parent table’s columns as well as the table’s business logic.

Please refer this link it will help you:

https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/table-administrat...

If my answer is helpful to you, please mark answer as helpful and correct.

 

Thanks and regards,

Megha.