Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Resolved! Uncaught ReferenceError: g_form is not defined

I wants to display an sample error message from client side on the web page. So, I created following test page. But it's showing the error in browser console tab, "Uncaught ReferenceError: g_form is not defined".Here is my page:<?xml version="1.0" en...

ramireddy by Mega Guru
  • 13379 Views
  • 4 replies
  • 3 helpfuls

Resolved! Pause condition on Metrics?

I wrote a script for a metric that checks Incidents that have been resolved by a certain group(Service Desk) without escalation or assigning the ticket to other groups within the span of 24 hours.   My computation of the duration is pretty straight f...

Resolved! Catalog Item select box, value of -- None -- ???

Below is my script for a quick test catalog item. I am trying to stop the catalog item from submitting if the Default App is set to "-- None --", but I can't figure out how to check for that value. can anyone help me figure out what value -- None -- ...

will_smith by Mega Guru
  • 6106 Views
  • 10 replies
  • 0 helpfuls

How can i create a new plugin for integration ?

hi all ,I need to develop a new plugin which is not available in ServiceNow, i want to know how i start to develop a plugin as an application .I know that inside ServiceNow i cannot create plugin.For exampleLet X be the server,i want to connect Servi...

check to see if attachment exists in email

Hi folks,just wondering if there is a way to check if any attachments exists in an email if the attachment size is greater than the default size, 18874368 bytes (limit glide.email.inbound.max_total_attachment_size_bytes)if the attachment is excessive...

georgechen by Kilo Guru
  • 3836 Views
  • 4 replies
  • 2 helpfuls

Resolved! Indexof() issue

I'm having a quandary trying to see why this is not working, I'd like to think it is a fairly simple thing and I have been looking at screens too long this week!answer = ifScript();//var location = current.variables.requested_for.location.getDisplayV...

Derek10 by Tera Expert
  • 11198 Views
  • 6 replies
  • 5 helpfuls

Run Powershell Credentials

Hi AllI have a powershell script on MID Server, it does work, it adds AD Group to a user. See Below script.However what I have been trying to do is use credentials and credential_tag in workflow, so we do not have to hold an encrypted password on the...

davem13 by Mega Contributor
  • 3520 Views
  • 3 replies
  • 0 helpfuls

Resolved! Preserving Whitespace Jelly script

Hi,I'm working on a dynamic content block and im struggling on preserving the white space.I want to maintain the white space between the apostrophes: news   += ('             ')Any suggestions?Script:<?xml version="1.0" encoding="utf-8" ?><j:jelly tr...

adam_webster by Kilo Contributor
  • 4937 Views
  • 9 replies
  • 2 helpfuls

Domain Seperation | Managing the users on Global domain

Hello All,Appreciate your help on this.Currently we are working on Domain separated instance. Where we are facing an issue with the users. Right now, we have a domain structure like this: Global|Global/Company   (where Company we built all the bluepr...

vrnath by Tera Contributor
  • 6886 Views
  • 17 replies
  • 0 helpfuls