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

Forum Posts

Resolved! gs.beginningOfThisMonth(), show a difference of 1 hour.

Hi All, I have been coding a Script Include, in which I am using gs.beginningOfThisMonth(). However, I could see that the script was not executing correctly, on investigating it further, I found that there is a difference of 1 hour when I use gs.begi...

Split array and use elements in GlideRecord

Dear All, I want to split the array and use its stored elements in GlideRecord query. Below mentioned is the code snippet : // str contains 2 sys_ids  as  -> [*sys_id_1*, *sys_id_2*]  for(var i=0;i<str.length;i++) { var rec = new GlideRecord('core_co...

pururavasin by Tera Contributor
  • 9370 Views
  • 8 replies
  • 8 helpfuls

How to send an email to my SNow instance?

Hi,I am a bit confused regarding inbound emails to SNow.I (think) I've turned on inbound emails using the OOB format -->And I have this OOB POP3 configuration -->I have tried all of the following addressing with nothing showing up in the INBOX or the...

Screen Shot 2017-02-16 at 10.31.28 AM.png Screen Shot 2017-02-16 at 10.31.02 AM.png
tobrien by Kilo Guru
  • 20194 Views
  • 5 replies
  • 16 helpfuls

LDAP Server Operational Status is false following upgarde

Hi All, we have just had our TEST instance upgraded from Helsinki patch 12 to Kingston patch 2.  Following this our LDAP server now has the operational server of false.  When I test connection I get the following error: ldaps://cdlldaps-vip.cheshdata...

Sam Ogden by Tera Guru
  • 3648 Views
  • 7 replies
  • 0 helpfuls

Resolved! Business rule advance Condition for script

HI Developers.   I have the following script on a business rule:   (function executeRule(current, previous /*null when async*/) { //Get the Email record created against this Log var grEmail = new GlideRecord("sys_email"); if(grEmail.get("sys_id", cu...

Start date and end date for a report

Hi, I'm developing custom reports. Customer wants the start date and end date fields on every report where he could choose the same to see the report for selected reports. Is this possible to accomplish. Say for eg. If the report is on open incidents...

G Balaji by Kilo Guru
  • 4580 Views
  • 5 replies
  • 0 helpfuls

Multiple SLA's are attached to one Incident.

Hi All, Greeting!!! I have created an SLA Definition with some set of conditions on Incident table and when I create a Incident, I could see two SLA's (Created by me and one another) are attached to the ticket. Ex:  SLA1: Start Condition: Priority is...

Cascade Delete for Document ID field

Since Eureka, we can configure Cascade Delete for any reference field. However, I don't see that option available in the configuration of a document ID field.I feel that a document ID field is basically a reference field plus a depended field that in...

andyliu by ServiceNow Employee
  • 2459 Views
  • 3 replies
  • 1 helpfuls

How to set ReadOnly for all fields in GlideModalForm

I am creating a UI Macro to present a form (similar to sys_popup) using GlideModalForm.Everything works as it should except two thing; I want all fields to be readonly and I'd like UI Actions to not be present.As GlidePopup isn't active anymore, I wa...

felladin by Tera Guru
  • 3286 Views
  • 2 replies
  • 1 helpfuls