Has anyone been able to create a catalog request using the REST APIs?

nicholar
Kilo Contributor

Hello All,

I'm looking to create catalog requests via a desktop application that uses ServiceNow's REST APIs. I've been able to successfully do this for incident - the application creates an incident record by calling the Table APIs. This issue I am having with trying to create a catalog request is that it requires the 3 layers (request, requested item, and catalog task). If I just create the appropriate records for each using the table inserts everything works until I try to close a catalog task - the associated request and catalog request remain open...

Is there some way to attach a workflow to a request record created via REST?(i.e. create the requested item and catalog task and manage workflow stages) Like how this is done within a catalog item form created in ServiceNow?

Thank you for the help!

8 REPLIES 8

I created a processor to handle the creation of requested items on share.   It works with rest. That was actually it's purpose. Search share for catalog api


jacebenson Could you share this for those that do not have access to SHARE?



I'm curious if this might work for a project I am on where initial REQ would be conducted outside ServiceNow then use OAuth REST API to trigger the REQ, RITM, TASK workflow, approvals, notifications etc. in ServiceNow.  



Thanks,



James


You know that's a great point James.


Share is restricted to those w/HI Access.


... That's really unfortunate.


Here's the update set.


It doesnt handle user criteria yet.  


Thanks Jace.



Yes, I hope they open it up for all to SHARE.


No worries with user criteria piece yet - but appreciate the heads up. I'll test it out and let you know how it works and see what I can do for ACL/User Criteria pieces.



James