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

Forum Posts

Why am i getting unreachable code on the following code?

Getting 2 error messages, first one says type is defined but never user and the second message says unreachable code can someone help with this?   var Bringattributeuser = Class.create();Bringattributeuser.prototype = Object.extendsObject(global.Abst...

MIck11 by Kilo Contributor
  • 1541 Views
  • 7 replies
  • 0 helpfuls

Resolved! can we use GlideAjax 2 times in the same client script?

Hello Guys, We have a onchange client script written to automatically set the values of the catalog item onchange of "Quote" field and now we introduced the MRV's and we also need to automatically populate the values in the MRV based on the "Quote" v...

Resolved! Hide Annotation with translation and an onload Client Script

Hi, i created the Annotation like this: The ID, i want to use to get access to the Anno the Text is my Key for the translation. No i tried: https://community.servicenow.com/community?id=community_question&sys_id=fe50e326db6de700b1b102d5ca9619b5 http...

find_real_file.png
Meloper by Kilo Sage
  • 1393 Views
  • 6 replies
  • 3 helpfuls

CryptoJS implementation in serviceNow

I'm trying to create a webhook in github and uses a scripted rest api in my servicenow instance. as part of its security im planning to use the cryptojs to match the secret key from github which is in X-Hub-Signature-256 I copied the cryptojs file to...

Alvin5 by Tera Contributor
  • 1729 Views
  • 2 replies
  • 0 helpfuls

Resolved! Need to create a flow designer to create user and assign role

Created a catalog item with variable  1. Company name > refernce 2. user name > string> autopuplated 3. password > mask type  Need to create a flow designer to create a new user and assign the role to him.    I start with trigger > service task , als...

Supriya13 by Giga Expert
  • 1589 Views
  • 17 replies
  • 2 helpfuls

Resolved! Using gs.getUserName to get the Requested For

We built a business rule to post RITM variable info as an sc_task worknote so technicians have the information at their fingertips without going back to RITM.  However, I'm trying to get the Requested For from the Request/RITM to display, but it's no...

Change redirect page for Catalog Item

I was asked to create a fast way for the service desk to log quick tasks, but not as incidents. I created a Catalog Item that is accessed from the navigator, and a workflow that creates the requested item, an associated catalog task, then closes both...

find_real_file.png find_real_file.png

use business rule to search a record on a table

How to I use glide record to search for a record in a business rule on the incident table. I'm new to scripting and not sure how to structure the script with proper syntax.     for context: this is my assignment.      You are going to be using GlideR...

DevtoSME by Giga Guru
  • 1167 Views
  • 1 replies
  • 1 helpfuls

action.setRedirectURL in Client Scripts.

I have UI Action button I want to trigger var url='/myurl.do' ; action.setRedirectURL(url);   The UI Action triggers, but it will not load my URL action.setRedirectURL(url); works from my UI page ClientsScript but not from the UI Action.   Is there ...