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

Forum Posts

Cannot read property 'fireEvent' of undefined...

So, I have a UI Script that I'm pulling onto a form.When I pull in this UI Script, I can't do anything on the form at all.The console debug (log) area shows:Here is the UI Script code, and hopefully someone can see what's messing with ServiceNow's "f...

find_real_file.png
xiaix by Tera Guru
  • 5217 Views
  • 5 replies
  • 3 helpfuls

Resolved! how to can i replace a json value before sending in rest message

Hi good people I’m hoping one of you maybe able to help with this I need to force change a value of a before sending a payload Here is an example of the payload, var = body represents the below.  The below string to find an update is "customfield_103...

Davie by Giga Expert
  • 7007 Views
  • 3 replies
  • 1 helpfuls

Resolved! gs.getUser() accept parameters?

I'd like to pass a sys_user GlideRecord object to "gs.getUser()".  Is that possible? For example, in a script include: var u = new GlideRecord('sys_user'); u.get('92ece4dfdb3dd41084cc74b5ae9619d7'); if (u) { if (gs.getUser(u).isMember('Service Desk'...

xiaix by Tera Guru
  • 4251 Views
  • 11 replies
  • 8 helpfuls

Resolved! Is there anyway to export CI's and relationships out of ServiceNow?

Hi Community, Is there anyway to export CI and their relationships out of ServiceNow into excel? I think I remember a  script somewhere that exports one all Ci's (Assets) with just one level, however is it possible to get an export of more than one l...

SW7 by Tera Guru
  • 4543 Views
  • 2 replies
  • 1 helpfuls

Flow Designer, issues with using IF branch and currency field

Hello everyone.    On my form I have a currency field and in the Flow Designer I added an IF branch.  IF (datapill to currency field) GREATER THAN 250000 { do stuff} This works fine for amounts 0 to 999999 but as soon as an extra digit is added, it f...

David141 by Tera Contributor
  • 2496 Views
  • 4 replies
  • 1 helpfuls

Resolved! How to get line number from the Script field

Hi all,I have field with type "Script - Plain" on my custom table and would like to check the javascript object in the field.For example, I would   like to get the row/line number for the property "billable" in a server-side script.See please picture...

find_real_file.png

Resolved! E-mail Notification link to Incident

I am creating a notification within a SLA workflow to notify the assignee and assignee's manager when the SLA reaches a certain percentage. I want to include a link to the incident that is being referenced in the e-mail but the way I usually include ...

Outbound Rest Error: peer not authenticated

Hi I'm trying to get response from an https api with ServiceNow outbound rest, but got this error - org.apache.commons.httpclient.HttpException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated. I can get response with browser or Post...

find_real_file.png
James100 by Kilo Expert
  • 6156 Views
  • 5 replies
  • 1 helpfuls

Resolved! Flow Designer not getting triggered for service catalog RITM using service catalog as trigger , i have a SOAP integration for RITM creation in my instance.

Hi All, I need a solution for these two question would appreciate the effort to respond.1)i am struggling to trigger flow designer using service catalog trigger, my instance is madrid, i have install plugin for service catalog support. i am unable to...

find_real_file.png
shaikha by Tera Guru
  • 3590 Views
  • 5 replies
  • 3 helpfuls

Resolved! Welcome page (login) redirection to SP login page

Hi !  I need your help. When i'm connecting to my instance https://dev48627.service-now.com/ for loggin I want to be redirect automatically to this logging page = https://dev48627.service-now.com/sp/?id=landing  How could I do that please? Thanks

John241 by Tera Expert
  • 4150 Views
  • 6 replies
  • 4 helpfuls