Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Single Approval for Multiple RITMs in Order Guide

We have kind of a tricky request form to build.  Boiled down, it is essentially like this: First, they will select an environment from a list.  Some environments require an approval, others do not. Second, if an environment requires an approval, they...

jmiskey by Kilo Sage
  • 2094 Views
  • 2 replies
  • 0 helpfuls

Resolved! Using workflow scratchpad with a Multi Row Variable Set

Hello All, I have a complicated requirement that I am working through that I hope someone will help point me in the right direction.  Requirement: A user needs to be able to request several roles at a time. These roles are based on Application and lo...

Setting a Date-Time field with a GMT value

Hello all,I'm trying to write a business rule that manipulates a date/time string always provided to us in GMT, to then populate a date-time field on a record.I'm struggling to populate the field with the GMT time, ie it's always interpreted as the d...

Jamsta1912 by Tera Guru
  • 4338 Views
  • 5 replies
  • 0 helpfuls

Resolved! Script Include doesn't return a value for a Non-Admin user.

Hello people! I have a Script Include that returns a value to a Catalog Client Script and puts it in a field on the Portal, this works fine for admin users, but when I impersonate the real requester it doesn't work and the value returned is always nu...

Yanal by Giga Guru
  • 4463 Views
  • 6 replies
  • 2 helpfuls

Help with addJoinQuery()

Hi Team, I need to access object of the join table. Any help? For eg: if we see below example, how can i access fields of incident table? Also orderBy is not supposed to be working. When i am trying to print the order, it is coming as undefined:   //...

Resolved! glide.sys.time_format to include milliseconds???

Is there anyway to get milliseconds on the glide.sys.time_format, sys_properties property? Servicenow only shows that you can do HH or hh for hour, mm for minutes, and ss for seconds in their documentation https://docs.servicenow.com/bundle/newyork-...

find_real_file.png find_real_file.png find_real_file.png
Ryan74 by Tera Contributor
  • 5164 Views
  • 6 replies
  • 3 helpfuls

Oauth via Scheduled Job

Hi I've created a Application Registry to connect to our AzureAD.  If i go to the outbound rest message and click "Get oAuth Token" i receive the token and can run the API Call; however, i'm now attempting to refresh this token and run the call via a...

Ashby0003 by Tera Guru
  • 2082 Views
  • 2 replies
  • 0 helpfuls

Resolved! No entry in sys_app after publishing scoped app

Hi all,  I've made an scoped app on the sandbox instance, when the first version was done i published my scoped app. After publishing i've installed the app on the dev instance via System Applications > My Company Applications. When installed, i want...

Tjardo by Kilo Contributor
  • 3972 Views
  • 5 replies
  • 4 helpfuls

How to return display value instead of sys_id

All other fields are returning as expected, instead of 'manager'.  How can I modify this to not return a sys_id? function onChange(control, oldValue, newValue, isLoading){ var requester = ''; if(g_form.getValue('ConfirmInfoReqOtherChoice') == 'No')...

Resolved! API Calls from designated IP addresses

  Our Chief Security Officer has asked if ServiceNow has a way to force API calls are only received from designated IP addresses. As a use case, we would like to only allow servers within our local network to be able to make API calls to our ServiceN...

Joe Handley by Tera Contributor
  • 4150 Views
  • 2 replies
  • 3 helpfuls

Hiding UI actions on service portal form widget

In the OOB Form widget there is a code line like this :      return $scope.data.f._ui_actions.filter(function(action) where does this '_ui_actions.filter refer to ? And how can I hide specific UI actions on the form widget. If I use 'Disable UI Actio...

kkronborg by Giga Contributor
  • 2935 Views
  • 2 replies
  • 5 helpfuls

how to Call cURL in servicenow

Hi guys, We are trying to integrate Servicenow with box.com box.com is providing cURL command to connect to it. so we would like to use the same in service now.   1) can we execute curl command in service now ???  2) is there any other easy way to in...

navee7777 by Tera Contributor
  • 13266 Views
  • 4 replies
  • 1 helpfuls