- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Experts,
I’m trying to redirect non-ITIL users to the Service Portal after login in ServiceNow.
Requirement:
Users with ITIL role → Should land on the Platform UI (UI16 / Next Experience)
Non-ITIL users → Should be redirected to the Service Portal (e.g., /sp)
What I have tried so far:
Modified OOB Script Include (SPEntryPage)
Configured a Login Rule
Configured a System Security → Destination Rule
Tested with different non-ITIL users (no admin role)
Cleared cache and tested in incognito
Issue:
Non-ITIL users are still landing on the Platform UI instead of the Service Portal.
None of the above configurations seem to work.
If anyone has implemented this successfully, could you please share the correct approach?
Thanks in advance!
@Ankur Bawiskar @Dr Atul G- LNG
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
the SPEntryPage script include should handle this
check this blog
Role based redirection with SPEntryPage
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @Geet Burande ,
You can override this Script Include instead of editing OOTB, only you need to create a new property (if not already created) calling this script: glide.entry.first.page.script
Here's some code which might be useful, you should place it inside
if (gs.getUser().hasRole('itil') && !redirectURL && !isServicePortalURL)
return '/Next experience';
if (user.hasRoles() && !redirectURL && !isServicePortalURL)
return '/sp';
☆ Community Rising Star 22, 23 & 24 ☆

