New User system generated notification email

shawnmcpherson
Tera Contributor

I'm wondering if there is anything available around sending notifications to new users that have been created within ServiceNow.   For example, if I am an administrator setting up a list of new users, I would like to have an email notification automatically sent to them containing their User ID and temporary password once I have created them in the system.

This prevents me from having to send the emails out to each new stand alone user with their associated temporary password.

6 REPLIES 6

HV1
Mega Guru

You can quickly design a new email notification to run on sys_user table whenever a new record is "inserted".   It will automatically be triggered whenever you add new users in sys_user table.



Regards,


Hardik Vora


mpelyanskiy
Kilo Contributor

The idea of a build-in notification via system email notifications/templates does not work - it send out email to someone who already exists in sys_user table. In the case described - user is newly created, and the magic is to capture the email, pre-reserved for him and send the notification out to that email. I did not find the right way to to it as well. All the documentation refers to a mail script feature, that is no longer supported.



Do you happen to have any solution for this?


We have created a email notification, set to run on user inserts in the sys_user table (provided it falls within the conditions).
We have created a Password Reset Process that we use in the Notification email (process in the picture below).find_real_file.png




In the email we include the username of the new user and provide det URL (for the password reset process). The reset process sends a new email with just the password (when the user presses the URL and provides the information requested), and the user has to change password on login. We send on insert in the sys_user table. And use a email template and email layout to manage the content.



This is not the fix for the solution you are working on, but could be a workaround as there is no need to manually send emails.





Kind regards
Harald


Harald,



Thanks for the details. I'll try to implement it on my dev instance and will let you know how it goes.