Is there a URL which can be used to link to any task type?

dmitch
Kilo Contributor

Is there URL which will show a task's full details no matter which type of task it is? I have some other web pages I'd like to include links to ServiceNow records but sometimes they are incidents and sometimes they are changes. Is it possible to have a single URL which will show either?

 

For example this works for Incident:

https://dev111.service-now.com/incident.do?sysparm_query=number=INC0010001

And this works for a Change Request:

https://dev111.service-now.com/change_request.do?sysparm_query=number=CHG0030001

But the record type is in the URL, so this fails because you can't look up a change in the incident table:

https://dev111.service-now.com/incident.do?sysparm_query=number=CHG0030001

This URL works for any task, but just gives a generic form view with the fields common to all Tasks:

https://dev111.service-now.com/task.do?sysparm_query=number=INC0010001

My hope is that there is some view which will show the type-specific view for any given task record. Is there such a thing? Thanks in advance.

1 REPLY 1

Jace Benson
Mega Sage

You could add a ui page, to determine the table name, and then redirect.  OOB I'm not aware of such a way to do what you're asking.