Duplicate RITM created in Service Catalog

dbatch01
Kilo Explorer

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.

23 REPLIES 23

can you try rmoving workflow and submit and see if it is still doing the same


Hi,


Yes, I've tried that.   I still get two items in the shopping cart.


that's weird. By any chance are you using cart API anywhere on that catalog item


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.


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);