- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 08:06 PM
Hello,
I want to create table with two column as below setting using script:
Table Label: Computer ID
Table Name: u_computer_id
Extends table: Configuration Item
Column label: Computer NameType: StringMax length: 90Column name: u_computer_name
Column label: TypeType: StringMax length: 32
Default value: Exports to::Imports from
Display: trueColumn name: u_type
How to create above table using script in ServiceNow Scripts - Background?
Thanks,
Tim
Solved! Go to Solution.
- Labels:
-
Operational Intelligence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2018 02:49 AM
Hi Tim,
Good to know its working. Please mark it as correct, if you are satisfied with the solution and close this thread.
Regards,
Karishma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 09:04 PM
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 10:56 PM
Hi Rajashekhar Mushke,
Here is my reason:
I need to create 20 tables in ServiceNow. If I don't have script to create it,I need to create it in ServiceNow UI and do this step with 20 times.
If I have script then I can execute the script once to create 20 tables in ServiceNow Scripts - Background.
Thanks,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 09:47 PM
Hi Tim,
We can create table by using script. I found few link which helps us to do this. Please go through below links.
https://community.servicenow.com/community?id=community_question&sys_id=a3cc8329db9cdbc01dcaf3231f96190b
https://community.servicenow.com/community?id=community_question&sys_id=614543addbd8dbc01dcaf3231f961964
Mark Correct/Helpful, If this helps you.
Warm Regards,
Devyani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 10:58 PM
Hi Devyani,
Thanks a lot and I will try it.
Thanks,
Tim