URL for using REQ number instead of a sysid for redirection

jhellert
Kilo Contributor

The URL to view REQ0015654 in our production environment is 

https://snprod.servicenow.com/now/nav/ui/classic/params/target/sc_request.do%3Fsys_id%3D8c826cb44763...

 

Is there a way to use the Request number as a parameter as opposed to the sys_id and if so what would the URL be to do that?

 

Thanks,

 

John Hellert

2 REPLIES 2

Marcos Kassak
Kilo Sage
Kilo Sage

Hi @jhellert,

 

I'm not aware of what are you trying to achieve but, essentially, it is possible.

 

Link to the direct record:

https://snprod.servicenow.com/sc_request.do?sysparm_query=number=REQ0015654

 Link to the list:

https://snprod.servicenow.com/nav_to.do?uri=%2Fsc_request_list.do%3Fsysparm_query%3Dnumber%253DREQ0015654

 

Something like the code above would take you to the REQ in two different ways, but I would advise using sys_id as it is the Guid unique identifier.

 

If you found my answer helpful or correct ✔️ in any way, please don't forget to mark it to help future readers! 👍

 

--

 

Kind regards,


Marcos Kassak
Solution Consultant  🎯

anilkumarb
Tera Contributor

@Marcos Kassak 

Hello What can be the link for workspace, I tried by https://myinstance.service-now.com/now/workspace/agent/record/customer_account/12345. But unfortunately it is not working. can you please assist here.