How to create new M@M table in ServiceNow without license
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 04:43 AM
We have an M2M table that is not part of the exempted table (ua_exempted_table_inventory), and I can see it is listed under ua_custom_table_inventory. That means it needs a license. However, as per our requirements, I should delete the old M2M table and create a new one that should not require a license; it should be part of the Exempted Table inventory. Please help me with how to create that

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 06:40 AM
Hi @Rajeev00002 , this m2m table must be registered in the m2m_table field in the sys_m2m table. Keep in mind that these tables are restricted to three (3) custom fields in addition to the standard fields created by the system.
Greets
Daniel
Please mark reply as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2024 12:41 AM
Thank you , but when i create m2m table under sys_m2m, the table is creating with 2 fields and it is part of
ua_custom_table_inventory, but i don't want it to be created as custom table , how can we achieve this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2024 09:12 AM
The instructions for how to make an m2m table are here. If following this does not achieve the result you are looking for, you should probably contact your Servicenow representative for a more in depth review of your particular situation.
https://docs.servicenow.com/csh?topicname=t_CreateAManyToManyRelationship.html&version=latest

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2024 11:21 PM - edited ‎02-12-2024 11:25 PM
Hi @Rajeev00002, no you don't derive from sys_m2m. You only register you custom m2m table in as a record in sys_m2m.
Open sys_m2m.list via navigator.
Afterwards the table u_m2m_my_custom_table is visible in sys_db_object, there you can add 2 additional fields.
Greets
Daniel
Please mark reply as Helpful/Correct, if applicable. Thanks!