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

Forum Posts

Resolved! GlideRecord Query on a List Dictionary Type

We have an assigned_to field with the dictionary type of List. I was just wondering if anyone had any ideas on how to query the list to see if a value is in the list. I tried gr.addQuery('assigned_to.user_name', 'IN', user_id); //User ID is a string ...

logan2 by Mega Contributor
  • 6266 Views
  • 9 replies
  • 2 helpfuls

Resolved! How to get table schema programatically via API or processor?

Hello,How can I get table's schema programatically (using REST).Found some information here:Data Dictionary Tables - ServiceNow Wikisys_db_object seems to return list of tables.As fas as I understand sys_dictionary should return "additional details f...

andriyko by Giga Contributor
  • 11194 Views
  • 8 replies
  • 1 helpfuls

Resolved! ECC Queue Access - Insert attachment using Rest

Hello Guys,I am trying to attach files to incidents using rest web service (JSONV2). I am able to insert the attachment using ECC queue when I am using user account with admin access .Reference - Generate Attachments in ServiceNow via REST-John Ander...

Resolved! Delivery time in Maintain items not getting updated

Hi,When I am trying to update delivery time in Service catalog item example from Days 2 to Days 3 and click update/Save.I don's see same in order guide. It is still showing days 2.Please help to correct this.

GTSNOW by Giga Guru
  • 4032 Views
  • 27 replies
  • 3 helpfuls

Resolved! Dynamic field color help

so, I'm trying to write a client script to change the background color of a Field based on its value, but i can't seem to get it to work.should i use getelement() or getcontrol()   the script im using is function onChange(control, oldValue, newValue,...

Ryan Norton by Giga Contributor
  • 2901 Views
  • 9 replies
  • 0 helpfuls

Resolved! Number disappeared from RITM form

Hello:Not sure what I did, but I noticed my RITM number is missing when I click on the requested Item. The REQ has it, but the RITM doesn't. It is missing from all views. How do I get it to show?

RITM.jpg
kenneth2k1 by Kilo Expert
  • 1953 Views
  • 3 replies
  • 0 helpfuls

Resolved! OnChange script on reference field

Hi All,I have an onchange() script on the reference field , which works fine when I change the value of the field, but when I make the field blank by erasing the value, the onChange script wont get called.So the check if(newValue == "") never gets ca...

uma17 by Tera Guru
  • 2594 Views
  • 7 replies
  • 2 helpfuls

Resolved! Making variables mandatory on RITM when a certain task is created

Hi everyone,I have a fairly complex process for building servers where the engineer actually fills in variables from the RITM level.   The requirement is for certain fields that are not visible during the client filling out the form to be mandatory w...

turnea by Mega Expert
  • 2785 Views
  • 5 replies
  • 0 helpfuls

Resolved! How To Add A User To Multiple Groups via Script

I have a scenario where I need to frequently add users to multiple predefined groups. These groups have no roles assigned to them, but are used as "security" groups to allow viewing of certain "work order types" on our UI Page record producer. I thin...

Rename related list

Hi everyone,I've got a little issue here. I've got an entry point to the employees, where my ITIL Users can see a bunch of information about this person in related lists.No the lists, i'm planning do do refer to table names, which I don't want to hav...

Krischan by Giga Guru
  • 3907 Views
  • 3 replies
  • 2 helpfuls