How to create  catalog item via inbound email When I receive the notification, we have to submit req

mania
Tera Contributor

Hi,

 

How to create  catalog item via inbound email When I receive the notification, we have to submit a ticket with this cat item. 

 

How to do it, can anyone help on this. It will be helpful.

 

Thanks in Advance!

15 REPLIES 15

Hello @mania ,

 

Please add the below script

var ritm = new GlideRecord('sc_req_item');

ritm.initialize();. // To create RITM record

ritm.setValue('item','sys_id of catalog item');//set item and all other variables to the RITM

ritm.insert();

 

hope this helps. If my previous solution helped in your query kindly click on like icon and mark it as accepted solution