- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 02:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 07:13 AM
Hi Ankur,
No, its still the same. I had to use Order now API 1st to add to cart and then submit order API next to create the REQ. As i dont have much time to troubleshoot further i have done it this way for now and moving ahead.
Still, many thanks for your help.
Regards,
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 03:30 AM
Hi Karthik,
What error you get i.e. error message and the http status code?
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
05-04-2020 03:41 AM
Hi Ankur,
its successful, 200 status code but only successful in creating cart.
Status code : 200
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 04:45 AM
Hi Karthik,
can you try this method; it worked for me even when 2 step property was true/false
glide.sc.checkout.twostep.back
Buy Item (POST) -> give sys_id of the catalog item in the URL
https://instanceName.service-now.com/api/sn_sc/servicecatalog/items/a96250e407d01410540bf2508c1ed014/order_now
Request Body: highlighted in bold is sys_id of catalog item
{
'sysparm_id': 'a96250e407d01410540bf2508c1ed014',
'sysparm_quantity': '1',
'variables':{
'test': 'hello',
'group': 'd625dccec0a8016700a222a0f7900d06'
}
}
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
05-04-2020 05:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 05:12 AM
Hi Karthik,
can you give request body in the format as the example I shared?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader