Inbound Action for RITM with corresponding Task

sailor_moon
Tera Contributor

Hi All,

Can anyone please help how can I auto populate these fields using the inbound action?

The requested for, contact number and location was set into variable set named requested_for as well as the additional instructions. Pleaseee! Thank you!

sailor_moon_0-1693980770546.png

 

 

4 REPLIES 4

Community Alums
Not applicable

Hi, 

 

Are you talking about inbound email actions ?

 

Thanks,

Vikas

 

Yes

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi,
You can refer below link-

Creating Inbound Email Actions | ServiceNow Developers




Thanks and Regards,

Saurabh Gupta

Hemanth M1
Giga Sage
Giga Sage

Hi @sailor_moon ,

 

Configure a Inbound emai action and use cart api to populate and submit the request

cart api sample script 

var cartId = GlideGuid.generate(null);
var cart = new Cart(cartId);
var item = cart.addItem('sys_id of the catalog item');
cart.setVariable(item,'requested_for',email.user_id); //this would set the requestor for field with sender name
//add other fields as above
var rc = cart.placeOrder(); //submit the catalog item , this gives the sys_id of the Request

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025