How to fetch variables of Task from REST API?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2019 10:26 AM
Hi All,
How to fetch variables of catalog task from REST API?
Thanks and Regards,
Karthik Reddy T
ServiceNow Commnunity MVP -2018 class.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2019 10:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2019 10:33 AM
Service now provides OOB Service catalog REST API to fetch RITM variables.
https://<<<YOUR_INSTANCE_NAME>>>.service-now.com/api/sn_sc/servicecatalog/items/{sys_id}/variables
REgards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2019 10:40 AM
Hi Sachin,
Thanks for the response.
I want to fetch variables from Table API.
Is it possible?
ServiceNow Commnunity MVP -2018 class.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2019 11:11 AM
You won't be able to use Table API to fetch RITM variables.
It's better to use Service Catalog OOB REST API since functionality is already available.
Regards,
Sachin