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

Forum Posts

Project Task Email Notifications

We currently have a number of email notifications going out for Incidents and Changes, such as ticket created, ticket updated, ticket assigned. We'd like to extend this to project tasks, but I'm having trouble getting it working. I've inherited the a...

jeff_furst by Kilo Contributor
  • 2248 Views
  • 2 replies
  • 0 helpfuls

Resolved! Issue Comparing Values

Hi All,  I have the following script that compares if the repair cost of a machine is greater than the value of the laptop and then returns if the laptop should be disposed or repaired.   function onChange(control, oldValue, newValue, isLoading, isTe...

Capture.PNG
arobertson by Tera Guru
  • 3271 Views
  • 18 replies
  • 0 helpfuls

Resolved! GlideDialogWindow Direct Link to open in popup

All,  We just upgraded to Dublin and some functionality changed that our users liked. The UI Macro user_show_incidents used to popup a window with a list of related incidents. When a user selected an incident in the popup window, the result would be ...

cmcdevitt1 by Kilo Contributor
  • 5435 Views
  • 1 replies
  • 0 helpfuls

Email template - if statement scripting

Good morning,  I have been tasked to tidy up our companies email templates, I have a question I would like assistance with regarding scripting.  I would like to know if I can create an IF statement so that priority 1 incidents are followed by the urg...

wicked5 by Kilo Explorer
  • 6397 Views
  • 3 replies
  • 0 helpfuls

Resolved! Opening a Bookmark in another tab/window

I like the Bookmarks feature from UI11. What I don't like is the fact you cannot open a Bookmark into a new tab/window. I'd really like to be able to have a Bookmark to open up the Workflow Editor into a new tab/window, but it just cannot be done. We...

find_real_file.png
Jim Coyne by Kilo Patron
  • 1804 Views
  • 2 replies
  • 0 helpfuls

GlideAjax and usage of getRowCount()

Hi,I am having one Assignment group reference field in Incident page.I want to display how many members are there in that particular assignment group.To achieve this, i created a client callable Script Includevar number = Class.create();number.protot...

Resolved! Unable to change a table column label

Hi SNC,  I have a rather silly situation, which seems trivial at first, but then turns out to be a puzzle.  What I am trying to do it to edit the Label for the Description field, which I use for change, incident and catalog task. Basically I use one ...

1.png 2.png 3.png
mitzaka by Mega Guru
  • 3890 Views
  • 5 replies
  • 1 helpfuls

Creating Problem Tasks Automatically

I'm currently working in the Aspen release of SN and I'm trying to automatically create 2 tasks when a new problem is submitted. I've tried using a workflow but that didn't work. I tried an onSubmit client script and that doesn't seem to be working e...

KeithM2 by Kilo Contributor
  • 4265 Views
  • 8 replies
  • 0 helpfuls

Resolved! indexOf is not a function error in recorde producer.

Hi All,  I have used javaScript function "indexOf() " in record produces fulfillment script.When I run it in Background Script it is working. When I am using same in fulfillment Script.I am getting following Error "indexOf is not a function ".

Resolved! Parsing list collector selections

Hi everyone -  I need to check for a particular selection from a list collector in a Service Catalog item. In the workflow, I can get the values (which are comma delimited by default) like:  current.variables.list_collector.getDisplayValue()  What I ...

Good Scripting Book

Anyone know of a good book for teaching scripting in ServiceNow? Where to get it?

Jeffce by Tera Expert
  • 2814 Views
  • 6 replies
  • 0 helpfuls

Notifications based on Role

Hi,  I am trying to create notifications for our knowledge base, so that when a new article is created a notifications is sent to either the internal or public team to review and authorise etc.   I have tried of filtering the notification on the Role...

Daniel Voutt by Tera Contributor
  • 1385 Views
  • 2 replies
  • 0 helpfuls

Find nth position in a GlideRecord query

Hi All, Can someone please help me out to find out a way to find the nth position of a glide record when a table is queried?My use case is that I need to query a table from a client script, find its nth position, say 1st record and 5th record and upd...

gatesgopal by Kilo Explorer
  • 8507 Views
  • 4 replies
  • 5 helpfuls