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

Forum Posts

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
  • 2769 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
  • 6740 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
  • 1899 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
  • 3484 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
  • 5624 Views
  • 7 replies
  • 3 helpfuls

Resolved! Is it possible to display attachments on a service portal form?

Here's my scenario: I'm trying to create a record producer that has some fields and variables that the user has to input. Also, the user should be shown some attachments pertaining to that form. Think of this as a scenario where I'm trying to apply f...

Ram150 by Tera Expert
  • 3923 Views
  • 3 replies
  • 1 helpfuls