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.

how to route users to employee center based on specific user criteria

sath
Tera Expert

Hi,

We need to route all users who report to a specific person to employee center portal when they try to access ServiceNow. Can anyone assist on how to achieve this requirement?

5 REPLIES 5

Medi C
Giga Sage
Giga Sage

Hi @sath,

Could you please:

  1. Go to the Script Include "SPEntryPage"
  2. Adjust the function "getFirstPageURL" As per your requirements
  3. Ensure the system property "glide.entry.first.page.script" is set to:
new SPEntryPage().getFirstPageURL();

 


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.