We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! How to remove array brackets from the output

Hi,   We are getting an output from the script include below which i need to set in the description field, can anyone please help how to remove the array brackets   ["Database (256 x 229)","Server(564 x 376)", "Network(213 x 125)"]   When i am settin...

Current.xxx returned string "null" in business rule

Hi all, I am using current.xxx or current.getValue("xxx") in business rule for getting a reference field. The reference field was set to empty, however, I got a string "null" so that I cannot use some function to check if the field was empty, because...

Resolved! Help with UI Action and Pop Up Dialog

I have created a Form Button UI Action called "Place On Hold". Below are the detailsName - Place On HoldTable - Requested Item [sc_req_item]Action name - sysverb_hold_and_stayActive = TrueShow insert - FalseShow Update - TrueClient - FalseForm Button...

Screen Shot 2016-04-28 at 2.03.44 PM.png

Resolved! ServiceNow POST only one record per request?

I am trying to create a python script that does the following:Parse a CSV fileSend the CSV file to a remote server via REST APIThe code I have is working to parse the CSV file and convert it to a JSON object.However, when it imports to ServiceNow ser...

Katie A by Mega Guru
  • 1839 Views
  • 4 replies
  • 2 helpfuls

Resolved! Undefined value from Script Include return

Hi Community I created a script include to calculate "real-time duration" taking advantage of GlideSchedule() to exclude weekend days and holidays. I used a typical workday schedule excluding holidays. I tried the code in a fix script and works. But ...

find_real_file.png

Resolved! Quebec UI Builder - More "chrome_header" examples?

The Developer instance comes with 2 existing "chrome_header" UX Page Property records. Anyone have any additional examples? I want to get an idea of the potential options if I wanted to build a self-service portal out of UI Builder. Service Catalog B...

MG Casey by Mega Sage
  • 2508 Views
  • 3 replies
  • 1 helpfuls

Flow Designer - Error with script

I'm trying to build a flow to update a set of records. I'm getting an error as soon as I try to set a field by script. I need to append " OLD" to the end of the existing broker code field value. This is my flow: The script is simple: var bc = fd_da...

find_real_file.png
Sue Frost by Giga Guru
  • 1677 Views
  • 2 replies
  • 0 helpfuls

I am a creator — PDF Document Generator - Walter Brame

------------------ EDIT ------------------ A lot has changed over the years. Be sure to check here first: https://developer.servicenow.com/dev.do#!/reference/api/quebec/server/sn_pdfgeneratorutils-namespace/CellBothAPI?navFilter=pdf Have also enjoyed...

pdf_doc_gen_img_1.png pdf_doc_gen_img_2.png pdf_doc_gen_img_3.png pdf_doc_gen_img_4.png
walter_brame by ServiceNow Employee
  • 58288 Views
  • 99 replies
  • 5 helpfuls

Can somebody assist me with LDAP error "LDAP Server: Global LDAP URL: ldap://glbdirqr.global.us.shldcorp.com:389 failed scheduled connection test. ErrorCode: 40100. ErrorMessage: Did not get a response from the MID server after waiting for 55 second"

We have received below error with LDAP transaction.can anybody pls help me to correct this.LDAP Server: Global LDAP URL: ldap://glbdirqr.global.us.shldcorp.com:389 failed scheduled connection test. ErrorCode: 40100. ErrorMessage: Did not get a respon...

raghuv by Giga Contributor
  • 2540 Views
  • 2 replies
  • 1 helpfuls

Workflow error: org.mozilla.javascript.WrappedException: Wrapped org.mozilla.javascript.JavaScriptException: java.lang.NullPointerException

Hi all... I am getting the error org.mozilla.javascript.WrappedException: Wrapped org.mozilla.javascript.JavaScriptException: java.lang.NullPointerException (<refname>; line 51) in a "if" workflow script. You will see some gs.addInfoMessage entries, ...

Tom Siegel by Kilo Guru
  • 4164 Views
  • 11 replies
  • 1 helpfuls