Auto Submit Service Catalog Request

Joshuu
Kilo Sage

Hi All,

 

I have a service catalog item called "Vendor Change". On the catalog item we just have a one variable as URL type. It is just a link to a form. Whenever user clicks on this link it will redirect to another form where in user fill all the details and submit that form.

 

So as soon as the user submits the vendor change form the REQ/RITM should be submitted in ServiceNow.

 

I have configured the form with the URL type variable and given the link in it. But I am not getting how to submit this catalog request once the user submits the vendor form.

 

Could you please help me.

 

Thanks & Regards,

Priya

1 ACCEPTED SOLUTION

Hello, today we will learn about cart API __________________________________________________________________________________________ If you have any query please connect with us on Facebook https://www.facebook.com/ServiceNowKida/ if you find my video useful, please like and share my video and ...
11 REPLIES 11

Ethan Davies
Mega Sage
Mega Sage

Hey,

 

Once your user clicks submit on your form you redirected them too you should be able to use the Cart API in ServiceNow to create a Request for them.

 

https://docs.servicenow.com/bundle/utah-api-reference/page/app-store/dev_portal/API_reference/CartJS...

 

You would need to call the appropriate functions in this API to build your cart, add items and set variables, then submit it as part of your 'Submit' button on your Vendor Form you mentioned.

Hi Ethan,

 

That link is from the client side actually, I have not configured it in ServiceNow. They have provided that link to add it on the catalog item form. 

 

So, could you please elaborate what steps needs to be done here.

 

Thanks for your response.

Priya. 

So the link you mentioned takes the user to an external system where they submit the vendor form? It is not in ServiceNow?

Exactly, we cannot even open it in the normal browser, they will be able to open it through VDI. And they just want to keep a track of it. so created a catalog item for the same.