Not applicable

Ever wondered if there is a way to open any form in new mode with default values loaded without single click? 
Well, if this boggles your mind, then hang on and consume this content for your ServiceNow appetite.

 

There is well documented functionality by SN that walks through how to Navigate to a record or module using a URL (servicenow.com)

 

Let's consider a scenario.

Scenario: Suppose you have to create a new incident and your browser is loaded with 100 tabs, now you like to create incident with default value loaded without a click.

 

Alternately, the other in famous workaround is obviously well discussed and known to achieve this via 'copy incident ' that helps with prefilled values and 'Insert and Stay' on some tables to work with new addition in database.

 

This can be achieved via tweaking the URL by adding few operators and value, as you see below.

Step:1Navigate to the table and open any record

Step:2 Meanwhile you are working on current record, tweak the URL by adding '=-1' after the sysid to open form to create and save new record with default values updated.

https://<instance-name>.service-now.com/now/nav/ui/classic/params/target/<tablename>.do%3Fsys_id=-1

 

Example: https://devinstance07.service-now.com/now/nav/ui/classic/params/target/incident.do%3Fsys_id=-1

AbhishekPande1_0-1719479752265.png


Hope this observation helps to your SN knowledge and adds value at some extent. Can be cool around your fellow developers with this little hack. 😄

3 Comments