- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2016 08:36 PM
Hi All,
Has anyone tried inserting new Service Catalog Item and related data such as Service Catalog Variables by using table API for the tables(e.g. sc_cat_item) and updating them? Does any one have scripts to do that? If my understanding is correct, multiple tables are related to Service Catalog Item and need to insert/update them with consistency.
I know I can define brand new Service Catalog Item/Variables via Web UI as in following pages, but I would like to do via API. Any language (e.g. Python, Ruby, JavaScript..) is ok.
Defining Catalog Items - ServiceNow Wiki
Using Service Catalog Variables - ServiceNow Wiki
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2016 02:02 PM
You can do this using the Scripted REST API, assuming you're running Geneva+
I don't have any scripts to do that, but as long as you build it in a logical order, just like you would in the UI, this should work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2016 02:02 PM
You can do this using the Scripted REST API, assuming you're running Geneva+
I don't have any scripts to do that, but as long as you build it in a logical order, just like you would in the UI, this should work.