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

Interesting. The only way to do this then if we need to wait until the Vendor form is completed in the other system is to create an integration between that system and ServiceNow. There is a Service Catalog API that can be used to raise requests via web services: https://developer.servicenow.com/dev.do#!/reference/api/utah/rest/c_ServiceCatalogAPI

 

Your external system would need to use this API to raise requests in ServiceNow after the Vendor Form is submitted.

 

Another way (which is less ideal), is to have a field on the form in ServiceNow that asks if the Vendor Form has been completed in the external system or not. If we select YES then you could trigger the Cart API that I mentioned earlier to raise your request. This obviously requires user trust and a more manual approach since we need to change the field in ServiceNow. Consider this option if an integration isn't possible between your External System where the Vendor Form is located and ServiceNow.

Integration is not possible I guess.

 

I will go with the second approach. Will have a field on form. Could you please tell me how to use this Cart API with any similar example. I have not used it earlier so.

 

Thanks a lot for your patience.

Priya.

There is a pretty good and concise video on it here 🙂 

 

https://www.youtube.com/watch?v=EciIRYzSKBs&ab_channel=ServiceNowKida

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 ...

Thank you Ethan, I will check on this.

 

Best Regards,

Priya.

Hi Ethan,

 

I have a question here, so if user selects Yes on form. as soon as they click on yes will the request get submitted?