How to redirect users to specific view in sow

Alon Grod
Tera Expert

Hi,

 

how can I redirect users to specific view in SOW using client script if some condition is met. For example i have multiple views on the incident table and i want to redirect that user to view called alon in Service Operations Workspace

5 REPLIES 5

Toderean alexan
Tera Contributor

Hi @Alon Grod ,

    You can use this type of object to redirection:

 top.window.location = "https://www.google.com/ ";  // Change URL Based on your requirements.

   You just have to take into account the roles that you put on that views and the roles that users must to have when accessing.

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Alon Grod 

from where they should be redirected?

from left nav module when they click?

you can use view rules on your incident table

ServiceNow View and View Rule | ServiceNow tutorial to understand the view and view rule with ease. 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Alon Grod 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Alon Grod 

Not sure what your exact requirement is, but you can check the link below. You can use the View Rule to redirect users to a specific view. However, if you're trying to redirect to the SOW view, it's better to guide users to use the Workspace instead of a traditional view.

https://www.servicenow.com/docs/bundle/xanadu-platform-user-interface/page/administer/navigation-and...

https://www.servicenow.com/docs/bundle/yokohama-it-service-management/page/product/service-operation...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************