Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! UI Action redirect with alert

Hi All,I have a UI Action that redirects/refreshes itself like so,         action.setRedirectURL(current);I however wish to have an alert to the user g_form.addInfoMessage("here"); after the form has been refreshed. I can't do it before the redirect ...

techies by Kilo Expert
  • 4555 Views
  • 6 replies
  • 1 helpfuls

Resolved! OnChange Client Script to Hide Field Choices

I have written this on-change client script, but the problem I seem to be having is that I want a choice from the same field that is changing to hide as the different choices are made on the field. If the Change State is Planning or Pending Mgr Appro...

how to obtain sample data?

I have created a new instance(Istanbul) and there is now sample data. How to obtain some sample data after the instance is already created?

polina1 by Kilo Contributor
  • 2891 Views
  • 6 replies
  • 0 helpfuls

Resolved! Referencing Service Catalog Variables in Workflow

We have a Service Catalog to request various Telecom Requests.   I am building a Workflow, based on the Requested Item that is created from the Request.   I am trying to add an IF Action that checks to see if the request was for some special software...

jmiskey by Kilo Sage
  • 4888 Views
  • 29 replies
  • 3 helpfuls

Resolved! evalJSON not supported in Service Portal

Hello, We have several Client Scripts that call a Script Include to process data and send a response.We use the evalJSON function to transform a JSON string to an object.However, evalJSON is no longer supported in the Service Portal.Is there a way to...

Katie A by Mega Guru
  • 7884 Views
  • 4 replies
  • 19 helpfuls

Resolved! filter metric instance using dot-walking

I am unable to filter the metric instance using the table REST API on a dot-walked field.Example (filtering metric_instance fields to a specific incident number)https://[instance].service-now.com/api/now/table/metric_instance?sysparm_query=id.number%...

markledwich by Giga Contributor
  • 3468 Views
  • 3 replies
  • 1 helpfuls

List collector field type

Hi All,I have a custom table where one field type is list and a record producer which has a variable type list collector. When I submit the list collector it is giving sysids for the variable.   Please let me know if I need to change the field type.R...

SNow35 by Giga Guru
  • 6738 Views
  • 6 replies
  • 0 helpfuls

Resolved! UI Macro(button) Opening a new record?

Hi All,We have a requirement to dynamically display buttons based on conditions. Steps we have performed to get this done.1)Created a UI Macro & Formatter2)Created client templates based on conditions.3)Opening the Email Template using popupOpenEmail...

find_real_file.png
urmilla by Kilo Guru
  • 2303 Views
  • 2 replies
  • 4 helpfuls

Try Catch Throw in ServiceNow

So I've setup a code in a try-catch statement where it throws the code if it passes the given if-statement:if(requestEntry.cmdb_ci == null) throw "CI is missing";Seems correct right? But when I've executed the test on the code, a certain error came o...

rcruzsnow by Kilo Contributor
  • 5866 Views
  • 2 replies
  • 0 helpfuls