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

Forum Posts

Resolved! Ho to Parse STRING to Date/Time field?

Hello, i have an inbound email action to create a new records from emails.The email body_test contains string date, presented in such way, for example - Thursday, July 14, 2016 11:00:43 PMI'm extracting that date, and i need it to be inserted in the ...

hyperjam by Giga Contributor
  • 9569 Views
  • 25 replies
  • 17 helpfuls

Replicating the Manage Attachments Pop-up UI Action

Hi SN Community,  I had a business requirement to be able to forward attachments on a record (custom built application) to another system. Due to this alternate system's set up, SN had to send the attachments in the form of an email to this system, l...

find_real_file.png find_real_file.png
Volente_ by Kilo Expert
  • 2461 Views
  • 6 replies
  • 1 helpfuls

I wanted to select CI from Configuration item field on incident list view but it is not showing any record. how can I display CI records for configuration item field for incident list view

Hi Every One,Please help with the below issue I am encountered.I wanted to select CI from Configuration item field on incident list view but it is not showing any record. how can I display CI records for configuration item field for incident list vie...

dpv by Kilo Contributor
  • 5211 Views
  • 11 replies
  • 7 helpfuls

How do you extract DTSTART...

In the inbound action Process CAB meeting invitation replies, the attendee list is extracted by dissecting  the ical content as follows: var attachmentContent = new GlideSysAttachment().getContent(sysAttachmentsGr);var attendeeMatch = attachmentConte...

verda by Mega Expert
  • 2426 Views
  • 1 replies
  • 0 helpfuls

Resolved! Loading System libraries in MID server using Java Class

Hi Folks, I am trying to develop a POC in my personal ServiceNow instance and facing issue with MID server Java Call. So, to give an overview of what I am trying to do...  -> I am trying to call Java class file from MID server and return the results ...

Ebe by Giga Contributor
  • 2129 Views
  • 3 replies
  • 1 helpfuls

Resolved! Help Adding Multiple Recipients to CC via Mail Script

Hi all, Looking for help w/ adding multiple users to CC in a notification. I am using a mail script w/ the email.addAddress() function and I am getting the right output (per logs) but the mail doesn't appear to be going to the listed users. Scenario:...

apjohn2 by Mega Sage
  • 7968 Views
  • 5 replies
  • 3 helpfuls

Variable length arrays in Flow Designer Outputs

I have a script that generates an array of requests.  Each time the script runs, there may be a different number of requests (meaning the length of the array varies). In Flow Designer, I cannot figure out how to account for variable length arrays sin...

find_real_file.png
BobPaterno by Giga Contributor
  • 2160 Views
  • 1 replies
  • 0 helpfuls

Resolved! GlideQuery queryNoDomain

Hi ServiceNow Community! I am trying to created a GlideRecord query ignoring domain separation using queryNoDomain(), but I get the error, "Submit canceled due to a script error - please contact your System Administrator" when I test the script. I k...

ColK by Tera Guru
  • 5608 Views
  • 6 replies
  • 4 helpfuls

Get Form SysId from UI Macro

I have a UI macro where I would like to grab the Form's SysId and use it in some server side logic within the <g:evaluate> tag of the UI Macro If I can get the sysId of the record, then I can grab the actual GlideRecord on the server side so that I c...

chi-kwong by Giga Contributor
  • 1468 Views
  • 3 replies
  • 1 helpfuls

Read Only Variables in a Variable Editor

I've seen that many people have been asking how to set to read only all the variables within the variable editor of an incident or any other task.The solution is to modify (or create) the Formatter that shows the variable editor, for instance "Incide...

ralvarez by Tera Guru
  • 2956 Views
  • 5 replies
  • 5 helpfuls

Time Worked field on Incident form

Guys,I would like to understand how can we track the manual efforts (put by Assignment/Resolver groups) over an incident? I am aware of the "Time Worked" (OOB) field which is available on the incident form and it is auto calculated when ever the user...

How to Migrate data on Domain seperated Instance.

Hi All,I want to migrate Data from one Domain seperated instance to Another Domain seperated instance.What approch should we follow ? Is there any wiki links or documents there ?What precautions should i take in order to avoid problem while data move...

Resolved! Change color of field Text

Hello experts,How can we change the color of text in the field?I tried var myVar = $('sys_display.' + g_form.getControl('cmdb_ci').id);myVar.style.setStyle({color: "white"});but this do not works.!Thanks in advance

Calendar: Highlight based on

When using a calendar that is created as a report, is there a way to default the Highlight based on field.   Currently the default is --None--.   I'm attaching a screen print to show the field I'm referring to.   I want it to default to CategoryJerry

Screen Shot 2017-07-27 at 2.02.52 PM.png
Jerry20 by Tera Contributor
  • 4652 Views
  • 7 replies
  • 3 helpfuls