Portal or Fulfiller interface for users with roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2018 09:11 AM
Hi,
Hope someone can help.
In our instance when a user with no Roles access SN they get the Service Portal, a user with Roles get the fulfiller interface.
The issue we have is we have users with the approver role, these user don't need the fulfiller interface, just the Service Portal.
Where in SN is this function controlled?
I have tried making changes to the SPEntryPage in Script Includes but that seems to have no effect.
Thanks
Dan
- Labels:
-
User Experience and Design

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2018 11:15 AM
So, what you can do in this by giving your service portal link only like https://instance.service-now.com/sp
After, the user will enter in sp service portal it will remain in the portal after login.
This will be very easy approach.
Login rules might also work here.
Please mark my answer correct and helpful if my answer helped u. Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2018 11:28 AM
SPEntry script includes should be the right place to make the changes.
Line 69: if (user.hasRoles() && !redirectURL && !isServicePortalURL)
you might want to consider changing that line, maybe if (user.hasRoles() && (gs.hasRole('itil') && !redirectURL && !isServicePortalURL)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2018 12:42 AM
Hi Michael,
That is a variation I didn't try, however I am still getting the same results. I tried two variations as you had a rogue ( in the line:
(user.hasRoles() && gs.hasRole('itil') && !redirectURL && !isServicePortalURL)
(user.hasRoles() && (gs.hasRole('itil')) && !redirectURL && !isServicePortalURL)
I'm glad I was looking in the right place. Any other suggestions?
Thanks
Daniel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2018 06:08 AM
Oh - I might have misread your request. You don't want users with approver_user role to go to Portal?