Prehire login credentials using email address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 10:55 AM
Hi all,
I'm working through an issue I wanted to throw out to the community.
We're trying to grant prehire users access to the system and need to have them login directly with a provided user name and password. We wanted them to use their personal email address as the user name, but as there are existing processes already in place on the platform, we can't store this value in the user_name field. We've considered using two user records to solve this, but it would be easier to find a login process that can take the value of the user's email address while they're going through the prehire phase. We've looked at Installation Exits and cloning the login portal widget...but no luck. Has anyone found a way to log in using a field other than user_name?
Thanks
-Mike

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 11:13 AM
Hi Mike
You can follow ServiceNow doc-Create a user registration configuration for external users (https://docs.servicenow.com/en-US/bundle/tokyo-platform-security/page/integrate/authentication/task/...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 12:32 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 01:06 PM
Since you are creating user record for prehire who isn't in your systems yet so you can't user OOTB user table. You got to use ServiceNow OOTB User Registration for the external user so pre-hired user can access pre-hired onboarding tasks through ServiceNow portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2023 06:46 AM
I did set up that OOTB User Registration configuration for a Prehire user. I didn't really make any changes to the setup and just ran a few through to see the output. It seems like the Transformation section of that setup will generate a record in sys_user:
Once I ran that process for my test user, it just added a record to sys_user and prefilled the user name:
I was able to test with the email in the User ID, but I needed it to sit in Personal Email and have the login to read that as the user name on login.