Is there any way to populate fields using url?

Alon Grod
Tera Expert

Hi,

Is there any way to open a new incident window and populating fields using the url (passing parms and values for parms using the url) and not using client script?

1 ACCEPTED SOLUTION

Robbie
Kilo Patron

Hi @Alon Grod,

 

Did you see my earlier response?

It is possible to do this via the workspace as requested. The syntax is very similar. Here's an example using the Service Ops Workspace:

 

https://yourinstance.service-now.com/now/sow/record/interaction/-1_uid_1/params/query/active%3Dtrue%...

 

To add to this, simply add the URL encoding value of '%5E' (which is the ^ symbol also known as &) followed by the field name (eg short_description) followed by the URL encoding value of %3D (which is the = symbol) followed by the value to wish to pass.

 

Eg: e%5Eshort_description%3DTesting

 

As before, if you're trying to populate a field type of reference for example, you'll need to pass the sys_id as shown with the 'assigned_to' field.

 

@Alon Grod To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.

 

Thanks, Robbie

View solution in original post

10 REPLIES 10

CJB
Tera Expert

Any luck with this?