Auto-reply to unregistered users?

k0a1a
Kilo Expert

Hi community,

How would you setup an auto-reply e-mail for unregistered users?

Mail actions of type "Reply" fail with the message "Reply Email not sent, empty user_id", pretty much like here:

pastedImage_1.png

Thank you for ideas.

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

Hi Oleksiy,



Check the below thread



Setting up autoreply for emails sent to Service-Now mailbox



Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

6 REPLIES 6

Chuck Tomasi
Tera Patron

You will have to look at the notification definition and determine what fields/values are being used. Can you include a screenshot of "Reply to Okta Site" notification details?


ctomasi, "Reply to Okta Site" is an example found in another thread, consider link.



In my case (patch level: current Istanbul) action name is "Auto-reply to anonymous Schema Incident":



Type = New


Order = 1


Condition = gs.getUserName()=='guest'


... and so on.



In the second tab "Actions" I just specified the text of "Reply Email" and left the script empty/default.



Here are screenshots:


Untitled1.png



Untitled2.png



... and this is exact error message found in Email log:


Reply Email not sent for 'Auto-reply to anonymous Schema Incident', empty user_id

Please ignore sys_email.user_id in the text, it behaves same way with it or without.


SanjivMeher
Kilo Patron
Kilo Patron

Hi Oleksiy,



Check the below thread



Setting up autoreply for emails sent to Service-Now mailbox



Please mark this response as correct or helpful if it assisted you with your question.

sanjivmeher, this comment about creating new record in sys_email looks like a solution! Gonna try it right now...