Scripted API - RITM creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hello,
I have a working scripted rest api that will allow to create a RITM and just after add MRVS to that RITM.
Everything works... BUT only if the user has admin role, I've tried multiple permissions without success (contract_manager, catalog_*)
without admin role, it fails with the confusing error message: {"result":{"status":"error","message":"Your cart has item(s) no longer available. Please remove New Company from cart to continue with the checkout."}}
But I verified and cleaned the cart (sc_cart) each time before doing the call.
Anybody has an idea how to solve that issue?
BR
Tobias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
25m ago
Hi @biasto
1. Ensure your non-admin user profile belongs to the correct department or fulfills the User Criteria required to access/order the catalog item.
2. In the user criteria, there is companies, ensure your non-admin user fulfill that criteria
Sample screen shot
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti