Inbound Email Action : did not create or update sc_req_item using current

akyadav
Tera Expert

Hi Team,


I am using below inbound script to generate a request, it is working fine when I am sending an email with my email address but when an external user sends the email inbound action is giving error : 'Inbound Email Action : did not create or update sc_req_item using current'.

 

How to resolve this issue ?

var item = cart.addItem('sysid'); //catalog item sys_id 
cart.setVariable(item, 'var1', 'sysid'); 
cart.setVariable(item, 'var2', 'test');
cart.setVariable(item, 'var3', '2024-08-15');
var rc = cart.placeOrder();

 Thanks!!!

6 REPLIES 6

ShubhamGarg
Kilo Sage

Hello @akyadav ,

I hope the external user is not active =false or locked out and the external user has access to the catalog item. Let me know if it works.

If my response helps you in any way, kindly mark this as Accepted Solution/Helpful and help in closing this thread.

Regards,

Shubham

Hi @ShubhamGarg added a user criterian with any user, and reprocessed the email but still it did not create a request.

Slava Savitsky
Giga Sage

Does the request get created despite the error or not?

Hi @Slava Savitsky no, it is not.

Request is only getting created when I am sending an email, but when I am sending an email from a mailbox it is giving me error 'Inbound Email Action : did not create or update sc_req_item using current'.