- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 04:36 AM
Hi,
I'm looking for ServiceNow functionality that would help me in finding out if any table is a child or among descendants of another table... is there such OOTB functionality?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 05:10 AM
var table = new TableUtils("task"); gs.print(table.getTableExtensions());
*** Script: [incident, issue, kb_submission, sysapproval_group, change_request, change_request_imac, sc_task, problem, sc_req_item, ticket, ast_transfer_order, planned_task, change_task, change_phase, sc_request]
var table = new TableUtils("task"); gs.print(table.getAllExtensions());
*** Script: [task, incident, issue, kb_submission, sysapproval_group, change_request, change_request_imac, sc_task, problem, sc_req_item, ticket, ast_transfer_order, planned_task, change_task, change_phase, sc_request]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 04:41 AM
Hello Andrii,
Use the Application Navigator and navigate to System Definition > Tables.
Then select the table in which you are interested in and open its form. Go at the bottom. Under Related Links, there is an option called 'Show Schema Map'.
Click on it. There, you will be able to see all the connections / relations of that table.
Best Regards,Georgi Mavrodiev
IT Consultant
Do IT WIse
You may visit us in our Web Site: www.doitwise.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 05:03 AM
Oh,
I'm sorry - yes - that is what I need but I need to get it from Script, not manually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 05:10 AM
var table = new TableUtils("task"); gs.print(table.getTableExtensions());
*** Script: [incident, issue, kb_submission, sysapproval_group, change_request, change_request_imac, sc_task, problem, sc_req_item, ticket, ast_transfer_order, planned_task, change_task, change_phase, sc_request]
var table = new TableUtils("task"); gs.print(table.getAllExtensions());
*** Script: [task, incident, issue, kb_submission, sysapproval_group, change_request, change_request_imac, sc_task, problem, sc_req_item, ticket, ast_transfer_order, planned_task, change_task, change_phase, sc_request]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 05:18 AM
I knew there should be something like this! Thank you so much! This is what I've been looking for!