How to get RITM variables display value using REST API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 09:33 PM
Hi All,
How to get RITM variables display value using REST API with out using scripted REST API.
Can someone help on this.
Thanks,
Rajashekhar Mushke
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Labels:
-
Instance Configuration
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 03:22 AM
Hi,
please check steps & screenshot below
1) in left nav open rest api explorer
2) open the table API; give table as sc_req_item
3) query I have given is number=RITM0010298
URL: https://instanceName.service-now.com/api/now/table/sc_req_item?sysparm_query=number%3DRITM0010298&sysparm_fields=variables.group
HTTP Method: GET
give all the variables name in the sysparm_fields as variables.<variableName>
separate each variable with %2C
Ensure you set this as true
sysparm_display_value -> true
Screenshots:
RITM: Having group as reference variable with value as "Security Managers"
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 07:30 AM
Hi Ankur,
I will try it and get back to you. Thank you so much for you support!!
Thanks,
Rajashekhar Mushke
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-02-2020 09:13 AM
Sure do keep posted
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 05:37 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-02-2020 11:20 PM
Hi,
Is this for inbound or outbound?
Did microsoft flow provide some endpoint to which variable information can be shared?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader