redirection now experience /nav/ui/home to /esc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Hello Team,
I'm trying to implement an automatic redirection to Employee Center (/esc) for a subset of users .
I have already customized SPEntryPage (getFirstPageURL()), and it works as expected after authentication. Users without back-office roles (or users belonging to a specific group) are correctly redirected to /esc after logging in.
However, if those same users are already authenticated and manually navigate to:
https://myinstance.service-now.com/now/nav/ui/home
they are taken to the Next Experience shell instead of being redirected to /esc.
From my investigation, it seems that:
- getFirstPageURL() is only executed during the login process.
- Traditional UI Scripts are not loaded on /now/nav/ui/home.
- ACLs do not apply to the /now/nav/ui/home route.
My question is:
Is there any supported way in ServiceNow to redirect authenticated users from /now/nav/ui/home to /esc based on their roles or group membership?
I'm looking for a solution that follows ServiceNow best practices and remains upgrade-safe.
Thanks in advance for your guidance and experience.
- Labels:
-
Employee Service Center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Check this link https://www.servicenow.com/docs/r/platform-user-interface/service-portal/c_SPSSOLoginAndRedirects.ht...
You will find information on how to conditionally redirecting users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Users without back-office access are redirected to /esc after authentication.
However, once users are already authenticated, if they manually browse to:
https://<instance>.service-now.com/now/nav/ui/home
And can he access the back office
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
How is the subset of users identified, users having a custom role? One overhead of modifying this script include is, during version upgrades, it will give a conflict and would need your review.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Users without back-office access are redirected to /esc after authentication.
However, once users are already authenticated, if they manually browse to:
https://<instance>.service-now.com/now/nav/ui/home
And can he access the back office?