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 format Target URL of an Interceptor when navigating to custom table on a different SN instance

shawnbaar
Giga Expert

Good afternoon,

I have a requirement to alter the Target URL of an Interceptor's Answer (sys_wizard_answer) to redirect a user to a different SN instance.  We use a common instance with an interceptor on the Incident.do page.  Any external link has a target URL of:

https://instancename.service_now.com/incident.do

Since those external instances are typically individual customers, that works well.  Now I have a requirement to direct it to a specific table (u_incident_customername) where the Incident table was extended for each of 2 customers.  I have tried replacing the "incident.do" with "u_incident_customername", but it always directs me to the base Incident table.

How can I format the Target URL string to get me to the custom incident table?

 

Thank you,

Shawn

1 ACCEPTED SOLUTION

Hi Shawn,

 

This should work for you

 https://<instance name>.service-now.com/nav_to.do?uri=u_incident<client name>.do?sys_id=-1

 

Please mark my answer correct/helpful if it helped you solve your issue.

-Anurag

-Anurag

View solution in original post

5 REPLIES 5

It works in a not-very-user-friendly-experience way.  It essentially attempts to open the other instance inside the frame of the originating instance.  This puts up an warning message of sorts with a link.  Clicking on the link takes me to the correct table.  So while we are closer, ultimately it isn't the experience the client wants.