Service Catalog Variables via 3rd Party Application REST API

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2020 01:21 PM
Looking for some design advice for using a 3rd-party REST API to derive service catalog variable choices. Requestor will enter request via ServiceNow Service Portal, but variable choice values will be sourced by 3rd party application. We are currently updating sys_choice entries now as that data changes in the 3rd party application. Wonder if others were able to accomplish this level of integration and how. I was just reading up on remote tables, which looks like it may be a viable option here?
- Labels:
-
IntegrationHub
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2020 02:36 PM
Remote tables does not store data like actual tables.
If you query remote table, you will be seeing new data every-time as per your remote table definitions.
Servicenow has REST API which can be consumed by 3rd party applications.This way your choice list values will be dynamic. But, remember that you may have different data types of variables apart from choice list.
All service catalog variable definitions are stored in item_option_new table.
You should configure scripted REST API since you will have handle all variable data types and ask 3rd party to call this REST API.
REgards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2020 05:49 AM
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2020 08:14 AM
If you want to share variables across catalog items, then you should think of configuring variable sets.
But, still variables inside variable sets will be maintained in item_option_new table.
Instead of scheduled job to push variable definitions, i will suggest you to make it more dynamic and configure flow using flow designer based on event( new variable creation, existing variable updates) and push outbound call using REST API from servicenow to 3rd party.
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2020 11:01 AM
Thanks