Get the name of a child table from a parent table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2023 01:35 AM
Hi, all.
I would like to get the name of a child table from a parent table on a business rule.
How can I get it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2023 01:50 AM
Can you elaborate? That can be a lot, depending on your configuration. You need to know where to look to find something. What are you trying to script? The creation of a child?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2023 01:55 AM
I want to access multiple child tables from a parent table on a business rule.
Therefore, I am wondering if it is possible to somehow get the names of the child tables from the parent table obtained by a GlideRecord.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2023 05:42 AM
If the tables are all extended from the same one, you should be able to query the base table and find the parent = current.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2023 01:59 AM
It is a strange question - one parent table may have multiple child tables - this causes confusion. What exactly do you want to achieve?
Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024