Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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

Forum Posts

Resolved! Servicenow how to split Comma Separated Values into one by one

Hi all,Refer to the subject,   I am writing an UI Macro with below code, which need to compare the CSV values,   I have put the code in business rule to debug , then found the script can work (Pic 1) when user.lob only has one single value. But if us...

find_real_file.png
mandy_zhao by Kilo Contributor
  • 31129 Views
  • 17 replies
  • 9 helpfuls

Resolved! DurationCalculator - getSeconds vs getTotalSeconds

Been asked to get the business duration of a ticket from opened until closed/now. Simple I say, we'll just have a quick durationCalculator, and throw a schedule/timezone, and the start/end dates at it. var dc = new DurationCalculator(); dc.setSchedul...

Resolved! Quick help with adding users from an array to a group

Hi all, I am pretty sure that I am close, however, the script is not running for all users in the array. This is what I have so far: var admins = ["user1","user2"]; //array for(var i = 0; i < admins.length; i++) //for loop { var gr = new GlideReco...

find_real_file.png find_real_file.png

Resolved! Getting Error while uploading file by multipart "Failed to create the attachment. File part might be missing in the request."

I am trying to upload file using multipart from C# console application but I am always getting the same error "Failed to create the attachment. File part might be missing in the request.".  This is my code to upload the attachment. tableSysId = "49b4...

deb20 by Kilo Contributor
  • 5448 Views
  • 3 replies
  • 3 helpfuls

Resolved! Duplicate entries in Worknotes

Hi all, I am using below BR for calculating few time durations in Incident. It is working fine. However this after update BR is giving duplicate entries in worknotes. Please assist me in improvising this BR.

Vikram3 by Tera Guru
  • 2614 Views
  • 3 replies
  • 0 helpfuls

Resource reports

I need two resource reports, one to show allocation by resource/week and the another that shows planned, allocated, available and over-allocation.In Resource..Resource reports there is a report (allocation details) that gives me exactly what I need, ...

find_real_file.png
richofing by Mega Contributor
  • 2970 Views
  • 6 replies
  • 2 helpfuls

Resolved! reference qualifier "matches regex"

This isn't working?  Why not?  It's proper regex code! Please tell me that ServiceNow has the reference qualifier option matches regex documented somewhere.  4 years ago this was posted on the community and it appears the result is still true (at le...

find_real_file.png
xiaix by Tera Guru
  • 2073 Views
  • 2 replies
  • 0 helpfuls

Resolved! Scoped App - DOM Manipulation not allowed in client script?

I know, I know, DOM manipulation is not recommended. What I'm trying to do is hide the Suggestion button next to Short Description (the table is extended from task) and it does not look like there is a property to do it. I figure I'll just do an onL...

find_real_file.png
TrevorK by Mega Sage
  • 7081 Views
  • 6 replies
  • 4 helpfuls

Resolved! Field and Label formatting nightmare...

I am trying to convert a paper checklist form into a UI Form, but I am struggling with some basic design issues.The format of the form is several tabs, each with a number of questions, about 12-15 each tab, and each question quite long and detailed.N...

come on man.png please god no stop.png
daveslater by Tera Contributor
  • 2982 Views
  • 5 replies
  • 1 helpfuls