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

Forum Posts

current.operation() is null

Hello Community,         Any reason why current.operation() would always be null in an email notification script? As I understand it, .operation() is a GlideRecord method. In the email script, current returns a GlideRecord of the current record. What...

Ken83 by Mega Guru
  • 4756 Views
  • 6 replies
  • 3 helpfuls

Resolved! Show/Hide Form Sections

I read (in full) Show/Hide Form Section by Name - ServiceNow Guru So... when using g_form.setSectionDisplay(), where do you define the section name????What field on the sys_ui_section will go in the first parameter of g_form.setSectionDisplay() ???I ...

find_real_file.png find_real_file.png find_real_file.png
xiaix by Tera Guru
  • 43580 Views
  • 7 replies
  • 45 helpfuls

Truncate email replies to include only newest content

When someone replies to a ServiceNow-generated email, most inbound actions are set up to add the reply as a comment or work note to the ticket (e.g., incident) that includes the entire email body of the reply. This quickly grows the size of the email...

Screen Shot 2015-04-13 at 11.17.56 AM.png

Resolved! Set choice list value from a UI Page

I'm trying to set a value in a choice list field (On Hold reason) on the incident form with the value I select from a UI Page.I'm new to jelly and these kind of stuff so I assume it's something easy I'm missing here.Everything works fine, except the ...

palmen by Tera Guru
  • 10828 Views
  • 14 replies
  • 4 helpfuls

Resolved! Using glide modal to call a UI page

Hi Everyone, I have to add two more fields in the dialogue box apart from the 4 shown below (Number, Short description,...). This is being populated by a UI action which uses glide modal to call a UI page. But in the UI page I am not able to understa...

find_real_file.png
anirban300 by Kilo Guru
  • 3607 Views
  • 7 replies
  • 0 helpfuls

list collector multiple columns

Hi,I have a requirement where i need to show multiple columns in a list collector.For example,if i put the user table in the 'List Table' option in list collector i can see only the user names in the slush bucket.But i want the email and department f...

satyaki by Kilo Contributor
  • 8977 Views
  • 18 replies
  • 8 helpfuls

Reference field to select on popup Dialog Window

Hi All,I have a requirement, where on clicking a specific UI action, a Glide Window should pop up and user should be able to select a new user from sys_user table. Once, user submit the window the selected user should populate ina   custom field call...

Chandresh by Tera Guru
  • 4169 Views
  • 3 replies
  • 0 helpfuls

Resolved! How to mass update knowledge base categories in SNow?

Hi All,We have recently moved all our knowledge base documents from a shared drive to ServiceNow Knowledge base. We created separate knowledge bases for each of the teams. Initially we had no categories for the individual teams. But now, all the team...

using gs.sleep in a scoped application

Hi,I'm trying to use gs.sleep (1000) in a scoped application and I keep getting an exception:. com.glide.script.fencing.MethodNotAllowedException: Function sleep is not allowed in scope "xxx"I've tried "GlideSystem.sleep(1000); " but get a similar ex...

DickH by Tera Guru
  • 20042 Views
  • 10 replies
  • 5 helpfuls