Create a service catalog item dynamically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2012 11:13 AM
Hi all,
I created a Catalog Item (under Maintain items) with some variables. So if i manually enter the values to this variables and click submit, it creates an request and an item under this request.
Can I create a record of the same item dynamically with a script or workflow? I am trying to do this so that my workflows assigned to this catalog item will kick off.
Thanks
Kalyan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2012 11:29 AM
Check out the Service Catalog Script API wiki article for ordering items from a script.
http://wiki.servicenow.com/index.php?title=Service_Catalog_Script_API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2012 12:08 PM
Thanks a lot Brad. It worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2012 02:23 PM
I want to do something similar. If a user adds a specific item to their cart, when they checkout, I want two additional items to be created. The user doesn't need to see these items, so I don't think I want to use an order guide.
I tried using the examples in the Service Catalog Script API article, but this creates the items in a new request, when I actually want all three items in the same request.
Thoughts?