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

Forum Posts

Resolved! Ho do I get direct URL to a story without a sysid

My question is similar to this one:Direct link URL to incident or request itemHowever my query is regarding Stories.   So I can do thishttps://xxxx.service-now.com/nav_to.do?uri=task.do?sysparm_query=number=STRY2567987Which gets me this task viewBut ...

find_real_file.png
dimsandwich by Kilo Contributor
  • 1825 Views
  • 3 replies
  • 1 helpfuls

Resolved! Adding custom signatures in email notification script

Hi All,I'm trying to add custom notifications for each of the companies in our group. I've got various if statements running in the notification script identifying when you send what but i'm trying to send a signature that i have stored in a script f...

Dubz by Mega Sage
  • 3736 Views
  • 7 replies
  • 2 helpfuls

Exporting Form Layout and Table

I'm doing some development on service now and I'm currently using a temporary dev instance so if something gets messed up I can easily wipe and start over again.I would like to backup a form with the current fields and layout and restore it into my t...

ppapp by Kilo Explorer
  • 3975 Views
  • 5 replies
  • 1 helpfuls

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
  • 5842 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
  • 8913 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
  • 5622 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
  • 4156 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
  • 6272 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
  • 2799 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
  • 3706 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...