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

Could not find a table field

Hi,I made a couple minor changes to our Incident and Location forms in our Test env (added a couple fields and some basic UI Policy stuff).   I then went to move the update set from Test to Stage and I get these errors from the Preview Update:1) Coul...

Resolved! Combine gliderecord queries

I have 4 queries... 2 going to incident table, 1 going to sc_request and the last going to sc_task. Is there a way that I can combine these 4 into 1? The reason being is I am wanting to order the results based on a datetime field for all 4 queries. I...

codedude by Mega Expert
  • 3055 Views
  • 7 replies
  • 0 helpfuls

Best practices for debugging mail scripts?

Just curious what practices people find most effective for debugging mail scripts (ie. in Workflow notifications).Beyond the basic template.print inclusions, once you start adding script logic, gr queries, fields from various places, etc... it is eas...

karstenvan by Mega Expert
  • 8910 Views
  • 4 replies
  • 6 helpfuls

image in the email template.

I have a email template, I am trying to add an image in here. And in the email notification call this mail script. I am doing it by clicking on the insert/edit image. But in the email that is sent out I am getting "<p>ClickHere <img width="26" height...

ryadavalli by Tera Expert
  • 4502 Views
  • 6 replies
  • 0 helpfuls

Format Phone number

I am using a string field for users to enter phone number and or pull phone number from a source, is there a script available or has anyone used a script to format in this Fashion (###) ###-#### or ###.##.####Thanks JJ

Jeffce by Tera Expert
  • 3287 Views
  • 4 replies
  • 0 helpfuls

Resolved! Moodle integration

Hi All,Did any one come across the Moodle Integration with Servicenow.I would like to know how the Moodle can interact with SN, I have tried doing some research but could not find any.any though / suggestions would help.Thanks,Vijay P

vijay152 by Kilo Expert
  • 5398 Views
  • 5 replies
  • 2 helpfuls

hi..i am getting following error when trying to include mail script in body message. Mail Script entered directly into Message HTML will not run. Do you want us to fix your Mail Scripts by moving them to Notification Scripts? does any1 have any idea

hi..i am getting following error when trying to include mail script in body message. "Mail Script entered directly into Message HTML will not run. Do you want us to fix your Mail Scripts by moving them to Notification Scripts?". Does any1 have any id...

shaveta by Mega Expert
  • 3219 Views
  • 4 replies
  • 0 helpfuls

Formatting Dates and Times

For those that need more advanced date and time formatting and conversion methods you can use the SimpleDateFormat and TimeZone Javascript libraries to do pretty much anything you want. I needed to create some very customized e-mail templates for a c...

elemonnier by Tera Expert
  • 11966 Views
  • 4 replies
  • 1 helpfuls

Resolved! Help with client script to select/deselect all check boxes

Good evening all.One of our field values 'Domain' has the option of 'Cross-domain' - if this value is chosen various checkboxes with different values appear. One of these check-box options is 'Global' - which when checked means all options (domains) ...

Screen Shot 2015-11-05 at 22.04.38.png
jas101 by Tera Expert
  • 8516 Views
  • 20 replies
  • 5 helpfuls

Using URI+ to force a view when following link in email

According to Scripting for Email Notifications if you put ${URI+&sysparm_view=ess} you can force the ess view of the form to the record the user clicks.I definitely have an ess view for the form the record uses, but that link keeps going to default v...

Uncle Rob by Kilo Patron
  • 4664 Views
  • 10 replies
  • 5 helpfuls