RITM creation by using inbound action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2024 03:33 AM
Hi All,
I wanted to create RITM tickets by using inbound action
Item sys id is

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2024 03:55 AM
Hi,
I would create a Flow that's triggered by the email, and has an action to submit the correct Catalog item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2024 04:08 AM
Hi @keval3 ,
You can use below script to create ritm.
var cartId = GlideGuid.generate(null);
var cart = new Cart(cartId);
var item = cart.addItem('Put sys_id of your catalog ite.');
cart.setVariable(item,'put your variable name ','your varibale value');
cart.setVariable(item,'put your variable name2 ','your varibale value2');
var rc = cart.placeOrder();
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2024 06:57 AM
Hi Runjay,
I put same code in my inbound but ticket not created by using that code. kindly find below screen snap
Thanks & Regards
KP