As organizations increasingly rely on ServiceNow to streamline their operations, managing user access and navigation also becomes increasingly important. This NOW You Know article explores an essential aspect of Service Portal maturation: controlling user traffic and ensuring proper redirection to improve both security and the user experience.
The process of maturing a Service Portal involves more than just building out Catalog items and adding a few widgets or reports. Controlling portal traffic and making sure end users are being routed to the correct place is just as important. Many times a company will want to route users who have a valid ServiceNow account, but no ServiceNow roles directly to their Service Portal upon login to prevent these users from accessing the main UI. This can be accomplished if the company incorporates a single sign on option or not.
Redirecting Users without a role
The good news with redirecting users to the portal is that a lot of the work is already done. ServiceNow has an out of the box Script Include that is controlled by a pair of system properties to automatically route users to the (baseline) service portal (/sp). To set this up you simply need to add (1) property to the sys_properties (table) and by default all users that do not have a role will be automatically pushed to the baseline service portal.
To create the new property follow these steps:
type “sys_properties.list” in the filter navigator and press enter
check to see if the “glide.entry.first.page.script” property already exists (if it doesn’t click NEW at the top of the list view)
Name: “glide.entry.first.page.script“
Value: “new SPEntryPage().getFirstPageURL()“
Click SAVE
At this point, any user that does not have a role assigned to their user profile will be automatically redirected to the baseline service portal.
Redirecting Users without specific roles
You might come across a scenario where you want to redirect all users who do not have a specific role to the service portal. This can be easily accomplished by implementing the above mentioned System Property and altering a baseline Script Include called “SPEntryPage“.
To automatically redirect users to the service portal if they do not have a particular role:
Go to System Definition/Script Include module and search for the script include called “SPEntryPage“.
We will be altering line #69 (it looks like this)
by altering the script to include a role such as “itil” it will redirect all users that do not have the “itil” role (or the admin role because admin is included by default) directly to the service portal.
your altered script should look like this:
Debugging
The script include referenced above has a logging function built in. You can simply set line 21 to true to log information about the user logging in and why they were redirected.
With these strategies, you can make significant strides to improve your Service Portal’s functionality and user management. These methods are a powerful control option in your ServiceNow environment. Remember to use the built-in debugging feature to fine-tune your implementation for a smooth user experience.
By redirecting users to the Service Portal, organizations can improve the overall user experience within the ServiceNow environment. This approach helps ensure that users can easily access the necessary resources and functionality, streamlining their interactions and increasing productivity.
The Service Portal serves as a centralized hub for ServiceNow users, providing a intuitive and customizable interface that aligns with the organization's specific needs and workflows. By directing users to this portal, companies can optimize service delivery, enhance user engagement, and promote efficient self-service capabilities.
Controlling ServiceNow Traffic Flow
Effective management of ServiceNow traffic is crucial for maintaining a seamless user experience and optimizing system performance. By leveraging the built-in script include and system properties, organizations can automatically route users to the Service Portal, ensuring that they are directed to the appropriate entry point for their ServiceNow interactions.
This traffic control mechanism allows companies to enforce role-based access and ensure that users without specific permissions are redirected to the Service Portal, where they can access the necessary resources and functionality. This approach helps maintain a streamlined and efficient ServiceNow environment, enhancing overall productivity and user satisfaction.
Optimizing ServiceNow System Configuration
Configuring the ServiceNow system to automatically redirect users to the Service Portal is a crucial step in enhancing the user experience and controlling traffic flow. By leveraging the available system properties and script includes, organizations can seamlessly implement this functionality and ensure that users are directed to the appropriate entry point.
This optimization process involves setting up the necessary system properties, such as the "glide.entry.first.page.script" property, and modifying the script include to incorporate role-based access control. By taking these steps, companies can create a more streamlined and user-friendly ServiceNow environment, improving overall efficiency and service delivery.
Leveraging ServiceNow Expertise
Pathways Consulting Group, with its deep expertise in ServiceNow solutions, is well-equipped to assist organizations in optimizing their ServiceNow environment. The company's experienced consultants can provide guidance and support in implementing effective traffic management strategies, including the redirection of users to the Service Portal.
By partnering with Pathways Consulting Group, organizations can benefit from the company's extensive knowledge and best practices in ServiceNow configuration and optimization. This collaboration can help ensure that the ServiceNow system is tailored to meet the unique needs of the business, enhancing user experience, increasing productivity, and ultimately driving greater value from the ServiceNow investment.
By redirecting users to the Service Portal, organizations can improve the overall user experience within the ServiceNow environment. This approach helps ensure that users can easily access the necessary resources and functionality, streamlining their interactions and increasing productivity.
The Service Portal serves as a centralized hub for ServiceNow users, providing a intuitive and customizable interface that aligns with the organization's specific needs and workflows. By directing users to this portal, companies can optimize service delivery, enhance user engagement, and promote efficient self-service capabilities.
Controlling ServiceNow Traffic Flow
Effective management of ServiceNow traffic is crucial for maintaining a seamless user experience and optimizing system performance. By leveraging the built-in script include and system properties, organizations can automatically route users to the Service Portal, ensuring that they are directed to the appropriate entry point for their ServiceNow interactions.
This traffic control mechanism allows companies to enforce role-based access and ensure that users without specific permissions are redirected to the Service Portal, where they can access the necessary resources and functionality. This approach helps maintain a streamlined and efficient ServiceNow environment, enhancing overall productivity and user satisfaction.
Optimizing ServiceNow System Configuration
Configuring the ServiceNow system to automatically redirect users to the Service Portal is a crucial step in enhancing the user experience and controlling traffic flow. By leveraging the available system properties and script includes, organizations can seamlessly implement this functionality and ensure that users are directed to the appropriate entry point.
This optimization process involves setting up the necessary system properties, such as the "glide.entry.first.page.script" property, and modifying the script include to incorporate role-based access control. By taking these steps, companies can create a more streamlined and user-friendly ServiceNow environment, improving overall efficiency and service delivery.
Leveraging ServiceNow Expertise
Pathways Consulting Group, with its deep expertise in ServiceNow solutions, is well-equipped to assist organizations in optimizing their ServiceNow environment. The company's experienced consultants can provide guidance and support in implementing effective traffic management strategies, including the redirection of users to the Service Portal.
By partnering with Pathways Consulting Group, organizations can benefit from the company's extensive knowledge and best practices in ServiceNow configuration and optimization. This collaboration can help ensure that the ServiceNow system is tailored to meet the unique needs of the business, enhancing user experience, increasing productivity, and ultimately driving greater value from the ServiceNow investment.