Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Resolved! hasRole() says true for everything

On one of my test instances where I'm logged in as admin so I can execute code in the "Scripts - Background" window, I'm seeing odd results related to roles.   If I run this:   var user = gs.getUser(); gs.print(user.getFullName()); gs.print(user.getF...

grosch by Mega Expert
  • 7207 Views
  • 2 replies
  • 7 helpfuls

Resolved! Change field that discovery updates for location?

For reasons I can't go into we need discovery to no longer update the location field but update a new field called Discovered Location u_discovered_location.   I can't find the script I need to update.   Can anyone help me out?

date/time stamp for when a ticket is assigned

Hi,  We want to run some reports showing when tickets are assigned to a team or vendor however out of the box nothing seems to exist. Looking at the opened field on the incident form has javascript:gs.nowDateTime() How would I use that to have a fiel...

scottjus82 by Kilo Guru
  • 7412 Views
  • 4 replies
  • 2 helpfuls

Resolved! Filtering out SQL Server Express instances

Hi all,  I've been researching a way to filter out / ignore SQL Server Express instances when MS SQL Server Discovery runs.Some suggested this should be done under the Process Classifiers, but I don't think this is correct. I believe the probe for MS...

dmitrib by Kilo Contributor
  • 1911 Views
  • 4 replies
  • 0 helpfuls

Resolved! LDAPS certificate request

Morning all,  I am currently, what can only be described as, having a battle between our server team and the ServiceNow wiki/support in getting my LDAPS connection setup for authentication.  Following the wiki, Uploading a Certificate - ServiceNow Wi...

PeterWiles by Kilo Sage
  • 2709 Views
  • 4 replies
  • 0 helpfuls

Resolved! Running two SLA's at once

If anyone can point out a better way to search the forums for answers i would highly appreciate it!  In the mean time, I have an SLA starting off of my "Internal TTR" SLA which runs until i esclate to another assignment group which then pauses that S...

regizzle by Kilo Contributor
  • 4625 Views
  • 11 replies
  • 0 helpfuls

Max length of dictionary entry doesn't update properly

I'm having trouble updating the maximum length of field entries in my SN instance. The first time I make a change to the max_length of a newly created column, the change is reflected. However, every subsequent change is behind by an update. Here's an...

stopping by Giga Contributor
  • 1616 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to import Expense Lines

Hi Everyone,  I am trying to import Expense lines but I keep getting an error. The error is on the Source ID field. I can't figure out how to import to that, does anyone know how to do this  Thanks

Resolved! Set Value To Glide List

Hello All,  One more little issue, this time with glide list, here is the thing: I need to set a value to a glide list when a boolean field is true but with the examples I've got on ServiceNow Wiki I'm not able to do that, look:      I have these two...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
billv6 by Kilo Expert
  • 9169 Views
  • 4 replies
  • 0 helpfuls

Resolved! How to validate glide list field on the client side

Hi ServiceNow Developers,  I am looking for a way if there is one, to check and make sure that there is a value on a glide list field before it is submitted. In other words I am looking for something like getValue() that will check the   value of a f...

jmweli by Kilo Expert
  • 3327 Views
  • 6 replies
  • 0 helpfuls