Extend table after creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2019 08:18 AM
Hi,
I am trying to extend the table after creation. So, I have used the below code to extend but not working.
var table = 'u_test_extend_global'; //table you want to extend
var old_parent = '';
var new_parent = 'task'; //the table you want to extend to, like cmdb_ci or task
var changer = new GlideTableParentChange(table);
changer.change(old_parent, new_parent);
gs.log(new_parent);
Thanks in advance for the help!
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2019 08:30 AM
Hi Pavan
This is not recommended but below link might help
https://community.servicenow.com/community?id=community_question&sys_id=52b0c765db98dbc01dcaf3231f961942
Thanks
Rahul Kathuria