Is Extending Incident Table being Recommended Approach?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 12:35 PM
We have mandatory requirement to add more custom fields specific to each Line of Business for Incidents, the custom fields will be more than 20 as if now but it may grow further in future.
We do not want to add these fields directly on the Incident table, looking to create a custom table by extending the Incident table as we may have to write some business logics on these newly created custom fields for each Line of Business.
I would request you to share your experience and recommendation approach for this requirement.
1. Is it fine to extend the Incident table (OOTB extensible is false for Incident table)?
2. Is there any other way we can implement this without extending the Incident table followed these fields should be displayed for Incident and allow to create Incident (without writing any business logics on Incident table for these custom fields), also all the Incident lifecycle and functionalities should be working?
Note: We understand that ServiceNow don't recommend customizations but would like to understand the solution implemented with best practices followed given we need to work on this requirement to have more custom fields for a Incident.
- Labels:
-
Architect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 12:51 PM
Hi @VCN
1. Is it fine to extend the Incident table (OOTB extensible is false for Incident table)?
Atul: As per my knowledge and experience it is not good to extend Incident table, instead of look option to add new fields in task table or new table extend from task.
2. Is there any other way we can implement this without extending the Incident table followed these fields should be displayed for Incident and allow to create Incident (without writing any business logics on Incident table for these custom fields), also all the Incident lifecycle and functionalities should be working?
Atul: Check on Business Unit or CMDB tables.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2024 04:38 AM
Thanks for your inputs on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 03:24 PM - edited 12-03-2024 03:25 PM
The statement
custom fields for each Line of Business
is a clear indication that you are heading in the wrong direction.
So while adding one or two very incident specific fields to the table could be acceptable, 20 LoB specific fields, whether it is on Incident or an extension of it, is clearly wrong.
You should consult with someone versed in (RDB) schema normalization to guide you on how to store that data in a better way, so that the no. of columns will be much less and it will not need adjustment whenever the structure of LoBs changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2024 04:38 AM
Thank you for your inputs on this.