Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

Loop reference list object

Hi All,I have a table with one filed that is a list reference to another table, it would reference multiple objects.I want to loop all object in this filed and do some work but I don't know how to do thisI tried two way below , but both were not work...

nixu by Kilo Explorer
  • 5768 Views
  • 3 replies
  • 0 helpfuls

GlideRecord is not working on catalog client scripts.

Hello All,GlideRecord is not working on catalog client scripts.I have written below code in on Load Client script,function onLoad() {     //Type appropriate comment here, and begin script below     var gr= new GlideRecord('sys_user_group');gr.query()...

kalpesh18 by Kilo Contributor
  • 8745 Views
  • 4 replies
  • 2 helpfuls

UI Action condition/script

Hi All,On our incident table we have a UI action 'Create Emergency Change' - this will create a new change record copying over the relevant records.   On our change_request we have the field 'u_change_source'.   We only allow you to create an emergen...

find_real_file.png find_real_file.png
Sam Ogden by Tera Guru
  • 5492 Views
  • 2 replies
  • 1 helpfuls

Resolved! Filtering a Service Portal List Collector onChange

I have a list collector on a service catalog form that should filter it's available options based on the value of another field on the form (location).   It works perfectly in CMS but I'm struggling to replicate this in Service Portal on Helsinki.In ...

neil_jones by Giga Contributor
  • 3968 Views
  • 12 replies
  • 2 helpfuls

REST API account with read-only access to all tables

Hello,We've been trying to use an SN account with rest api access to show information on our incidents/problems/etc within another application. However, when using this user, we only get empty search results, indicating that the user does not have th...

paulyams by Kilo Explorer
  • 6184 Views
  • 7 replies
  • 0 helpfuls

Resolved! how does SLA Commitment & SLA Result work

DearsDoes anyone can help to explain how dose the SLA commitment and SLA result worked? Here's my task SLA tableAnd my commitment defineAs my understand, there should be displayed as do not achieve the target, but all the results are meet the 100% ta...

find_real_file.png find_real_file.png

Set an encrypted field through the REST API

Hi,I'm trying to do a a PUT the Table rest endpoint as described in:https://developer.servicenow.com/app.do#!/rest_api_doc?v=jakarta&id=r_TableAPI-PUT so that I can set the value of an encrypted field.   I'm setting the parameter "sysparm_input_displ...

tajhuque by Kilo Explorer
  • 2644 Views
  • 5 replies
  • 0 helpfuls

Resolved! User Avatar icon blank in Service Portal

Hi folks, I am just wondering if anyone ever experienced a quirky issue on the Avatar icon in Service Portal when a new request just been raised.     The Avatar icon shows blank (usually it would shows the initials)This issue only occurs to certain u...

find_real_file.png find_real_file.png
georgechen by Kilo Guru
  • 3620 Views
  • 2 replies
  • 2 helpfuls

Password encryption in Rest Payload

Hi,I am using rest API to create user on ServiceNow and my playload is{"user_name":"Watson","first_name":"John","last_name":"Whatson", "email":"whatson@bcone.com","city":"Pune","department":"IT",   "user_password":"pass,123"}when i run this it create...

Getting attachments from 3rd party via REST API

Hello fellow Developers. New to REST and been stuck for a couple of days now trying to figure this out. We are getting an XML response from a 3rd party that contains a base64 string, which represents an attachment and i need to convert and attach it ...

kevinray by Giga Expert
  • 3673 Views
  • 4 replies
  • 0 helpfuls

Resolved! Domain Display value - Can we display name only without path?

Hello,  I'm working in a domain separated environment on my Helsinki instance and my users are complaining that it's too diffiuclt to determine domain in lists and form views. This is because the views are showing the full path of the domain so:     ...

mattcox by Tera Contributor
  • 3106 Views
  • 13 replies
  • 2 helpfuls

Resolved! How do I edit a view name?

HelloIn our system, we have a view called Emergencychange.   Is there a way for me to edit the view name so it says "Emergency Change"?

find_real_file.png