Create a requested item from inbound action being sent from external requester

NikolaTesla
Tera Expert

I have created a script for an inbound action but it doesn't work for some reason. I sent an email from my personal email not in the system to the inbound action email. Trying to use a catalog with the sys id and assign requested for as Guest. Is this possible? Am I missing something? 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@NikolaTesla 

script look fine

Did you check any user criteria is present on that catalog item which is restricting the submission?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

JenniferRah
Mega Sage

I think the problem is in this line 

var cartId = GlideGuid.generate(null);

 

GlideGuid is client side, not server side. Try generating the cart without the cartId and see if that works.

Thank you. Let me give this fix a try. thanks again

@NikolaTesla 

GlideGuid works in server side.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@NikolaTesla 

script look fine

Did you check any user criteria is present on that catalog item which is restricting the submission?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader