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.

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

Forum Posts

Set Minimum Character Limit

Hi,I was just wandering if anyone knows how to set a minimum character limit on a string field. I know you can set a maximum length limit using the system dictionary .This is to prevent users from puting just a "." or a space in the field etc.Any hel...

List of all Google Map Icons, useful for SNOW map Pages

Hey guys I've found this list of all Icons used by Google maps, this could be useful when customer wants to display incidents in a map and difference them by some category or Impact. I hope this list could be useful. Google map markers | CTAPbIu_MABP...

gmorales by Kilo Expert
  • 8072 Views
  • 4 replies
  • 1 helpfuls

Using parseInt in script but getting NaN result

I am writing a script to add a simple series of form data. I am very new to scripting, but this seemed pretty straight forward. Any thoughts as to what I did wrong?//this script calculates the total amount of departmental allocations and only allows ...

jtrezza by Kilo Contributor
  • 11674 Views
  • 13 replies
  • 2 helpfuls

Resolved! Where is the default outgoing email template?

When we send email from an Incident using the email icon, it automatically populates the Requester name in the To field and CC's the Opened By username.   I want to remove the Opened By username from the CC field.  Also, when we send email from a Tas...

nidishman by Kilo Contributor
  • 2989 Views
  • 2 replies
  • 1 helpfuls

Script subquery: recursive parent names till root level

Hi,  I am in need of help for a script to fetch the parent name of that CI on its sys_id, and in turn parent of that parent name i.e recursive parent names for a CI till the root level.Basically its a tree of the parent names from the CI parent till ...

Resolved! GlideRecord next() call fails - why?

I am attempting to run the following code in a test workflow:  var gr = new GlideRecord('sys_template');var query_name = 'RBA - Network - KMTC VIP';  gr.addQuery('name', query_name);gr.query();  if (gr.hasNext()){       workflow.info('hasNext() says ...

ianj by Kilo Expert
  • 4720 Views
  • 7 replies
  • 9 helpfuls

Resolved! Field Change Notifications

Hello everyone,  I am trying to create an email notification that notifies the submitter of an enhancement when fields change on the form, and specifically which field was changed.   Our current implementation is set to trigger on form update and sen...

matt_langton by Tera Contributor
  • 6609 Views
  • 5 replies
  • 2 helpfuls

Resolved! Glide Record Query in Workflow

Hi Everyone,  I am not sure why this is not working and require some help with this query. I am trying to query name records on a table that are equal to a name field entered by the user on a service catalog item in a Run Script on a workflow.  My sc...

williamskri by Kilo Contributor
  • 6583 Views
  • 3 replies
  • 3 helpfuls

Resolved! Script Include Creating New Records

I am using a Script Include to filter Contract Types based on the User Department for Time tracking.   I have a Reference Qualifier on the Contract Type on the Time Entry form (we're not using the OOB Time Cards, instead we're using a Time Sheets cus...

She Sull by Giga Guru
  • 2866 Views
  • 7 replies
  • 0 helpfuls

Resolved! add attachments to outbound notifications

Been looking at this little project for this afternoonIf a user is internal or a process user, they simply get a link to the attachmentIf the user is a contact we ebond via email with we are looking to send them the attachment in the notification  I ...

poyntzj by Kilo Sage
  • 5692 Views
  • 3 replies
  • 2 helpfuls

Popup notification that user has timed-out

We are looking to put up a notification to a user to say they have "timed out" and that their session will be refreshed, as they will lose any unsaved changes pending. Is there any way to successfully do this?  I have tried to use the method similar ...