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

Forum Posts

Resolved! check if the user is in among multiple groups

Hello I have a Requirement were on the catalog item we have a field call "product_user " up on request in the work flow we need to write a if condition to check if the user is among any mentioned 6 groups , if yes then it should go for an approval fo...

RudhraKAM by Tera Guru
  • 5367 Views
  • 6 replies
  • 2 helpfuls

Can´t find method message for GlideImportSetLoader

Hi Everybody, I´m getting an error message when i try to use GlideImportSetLoader: Javascript compiler exception: Can't find method com.glide.system_import_set.ImportSetLoader.getImportSetGr(string). (null.null.script; line 2) in: var loader = new Gl...

Carlos Diaz by Tera Contributor
  • 2504 Views
  • 1 replies
  • 0 helpfuls

if (today.compareTo(istoday)==0)...

In SN's Learning Path "New to ServiceNow" > Module "Server Side Scripting" > Lesson "Exercise: Create a Business Rule", at the bottom of the page, the exercise provides this code: Shouldn't if(today.compareTo(istoday)==1) be used instead of   if(toda...

Screen Shot 2017-06-20 at 6.10.22 AM.png

Resolved! Retrieve error message from a Business Rule

HI, I have a BR which runs on CHG table and prevents a CHG record to get updated its state if that CHG's tasks are open. The BR also throws an error message stating the same. See below code which runs fine. I am working on another script (for example...

How can I make a url variable clickable?

Business Need: I want a user to create a catalog request, and on one of the fields on the request  they are to enter a url. Then, once the request has been submitted, the url that they entered will be clickable on the request and in list view. I have...

Digit by Kilo Guru
  • 4388 Views
  • 4 replies
  • 1 helpfuls

Automated Test Framework- Service Catalog Attempt

I began an attempt to create a catalog item from start to finish using the automated test framework. I wanted to provide my pain points and fixes in case any other user decides to delve into this and improves upon my findings.I used a catalog item th...

rolandorng by Kilo Contributor
  • 3866 Views
  • 1 replies
  • 1 helpfuls

Resolved! Want to override Data lookup for Assignment group

I wrote data lookup definition to auto populate Assignment Group based on the value of category in my incident form.I also want to change value of Assignment Group manually. But when I save the form after changing the value of Assignment Group, its v...

Akshay14 by Tera Guru
  • 3774 Views
  • 9 replies
  • 1 helpfuls

Resolved! How to pass custom parameter in cart checkout into request?

Hi everybody, I want to pass an own ID while checking out my cart. That ID should be saved in my request table. I have an customer asset, that is shown on a page in serviceportal. I have an inventory action on that customer asset -> for example "Reti...

Felix20 by Giga Guru
  • 3632 Views
  • 10 replies
  • 1 helpfuls

Scheduled Creation of Tickets

Does anyone know of a way to create a 'ticket' on a scheduled basis, based on a Calendar? Has someone done this? Or do I have the pleasure of creating it?  Thanks, Dave 

dstuart by Kilo Expert
  • 3449 Views
  • 4 replies
  • 0 helpfuls