Portal or Fulfiller interface for users with roles

Daniel118
Tera Contributor

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

6 REPLIES 6

Rohit Kaintura
Mega Guru

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.

Michael Fry1
Kilo Patron

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)

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

Oh - I might have misread your request. You don't want users with approver_user role to go to Portal?