Duplicate RITM created in Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2017 11:00 AM
We have about 70 items in our Service Catalog. We have one item which is creating two items in the shopping cart every time it's checked out. This, in-turn generates 2 approvals and two RITMs.
One of them has all the information that was submitted, the second is missing variables on the RITM form. This happens on every submission of this one item, but nowhere else. For the life of me I cannot find what the issue may be.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2017 11:46 AM
can you try rmoving workflow and submit and see if it is still doing the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2017 11:58 AM
Hi,
Yes, I've tried that. I still get two items in the shopping cart.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2017 11:58 AM
that's weird. By any chance are you using cart API anywhere on that catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2017 12:00 PM
While I'm not sure exactly what you mean, I don't think so. There is nothing different on this item as any other I'm afraid.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2017 12:03 PM
I mean are you using any of the script similar to below
Ordering a single BlackBerry:
var cartId = GlideGuid.generate(null);
var cart = new Cart(cartId);
var item = cart.addItem('e2132865c0a8016500108d9cee411699');
var rc = cart.placeOrder();
gs.addInfoMessage(rc.number);
Ordering twelve BlackBerries:
var cartId = GlideGuid.generate(null);
var cart = new Cart(cartId);
var item = cart.addItem('e2132865c0a8016500108d9cee411699', 12);
var rc = cart.placeOrder();
gs.addInfoMessage(rc.number);
Ordering an executive desktop and setting its OS:
var cartId = GlideGuid.generate(null);
var cart = new Cart(cartId);
var item = cart.addItem('e46305bdc0a8010a00645e608031eb0f');
cart.setVariable(item, 'os', 'Linux Red Hat');
var rc = cart.placeOrder();
gs.addInfoMessage(rc.number);