Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Portal Redirection

MUJAVAR SUBHANI
Tera Contributor

'snc_internal' role contains another role like 'x_sap'. Without 'x_sap' role if any 'snc_internal' users login to servicenow instance they are redirecting to portal page. But with 'x_sap' contain role they are redirecting to native dashboard view instead of portal page. 'snc_internal' role with contain role also need to redirect portal page. Anyone please provide valid approach for this to achieve the functionality.

7 REPLIES 7

Tried by modifying SPEntryPage script include exactly like the article you mentioned, its working fine. Thanks!

@MUJAVAR SUBHANI 

Thank you for marking my response as helpful.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

After modifying the script as per article you mentioned:

When impersonating with any one of snc_internal user it redirecting to portal page.

With any one of snc_internal user, if browse the instance link it is redirecting to portal page.

Not working case-

With any one of snc_internal user, open entire instance link which include 'now/nav/ui/classic' or from bookmark if we open the instance link then it is not redirecting to portal page.

Is this expected behavior?