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

How to make sysparm_query a variable using Get REST API?

Hello, Is possible to make sysparm_query a variable? Instead of This request.setEndpoint('https://<instance>.service-now.com/api/now/table/live_group_member?sysparm_query=group.name%3DSystem%2C%20User&sysparm_display_value=true&sysparm_limit=10');Be...

find_real_file.png
Inged by Kilo Contributor
  • 10176 Views
  • 3 replies
  • 1 helpfuls

Customize Breadcrumbs link

Hi all, I want to change the link of an item in a breadcrumb. When I click on it, I am redirected to the page sc_category&sys_id=... I wish, instead, to be redirect to a page that is a clone of that but the name is customer_name_sc_category&sys_id=. ...

nicolancl by Tera Contributor
  • 2383 Views
  • 7 replies
  • 0 helpfuls

Resolved! Java API code to create new incident

Hi All,Am new to ServiceNow and in the process valuating it.Here my requirement is I need to create a new incident with the Java code.Can anyone help me with the API Java code to create new incident on ServiceNow?Thanks in advanceChitra

chitrat by Tera Contributor
  • 15099 Views
  • 24 replies
  • 0 helpfuls

Suggestion next to short description -help

Dear All,In Incident Management, when you click on the light bulb(Suggestions) present immediately in right side of short description field, one pop up appears as shown below:I am curious to know , when we click on this lightbulb icon (suggestion )  ...

find_real_file.png find_real_file.png find_real_file.png

Catalog Item display name different than name field

On catalog items there is a "Display Name" field(sys_name) on the sys_metadata table.  There is also a "Name"(name) field on the sc_cat_item table.  The Display Name is set to match whatever is in the Name field on the catalog item when creating it. ...

booher04 by Tera Guru
  • 2017 Views
  • 1 replies
  • 1 helpfuls

Resolved! Bypass query business rule for catalog variable

I have an item in the catalog where I need the end users to be able to select disabled user records.We currently have the typical before query business rule that limits those disabled records to HR and the Service Desk roles.I still want to limit to ...

shill by Mega Sage
  • 6027 Views
  • 14 replies
  • 12 helpfuls

Using Promises inside Fix Scripts?

Hi, I am working on a Fix Script that is supposed to use asynchronous style coding in order to carry out a lot of outbound REST requests, but I was surprised to see that the Promise identifier could not be found ? The line is log says:  ReferenceErro...

sthous by Giga Contributor
  • 1997 Views
  • 4 replies
  • 0 helpfuls

Resolved! Script for calculating password expiry date

Hi, I need to setup password expiry notifications for users whose password are about to expire 10, 7, 4, 3 and 2 days before. So I have setup the event, and notification, but I need help with the script in the scheduled script execution. I have a fie...

find_real_file.png
Khalnayak by Kilo Sage
  • 2424 Views
  • 9 replies
  • 2 helpfuls

Resolved! Disable notifications for catalog items

I have a catalog item which doesn't need Request(sc_request) notifications.How can I exclude notifications for only 1 catalog item and include sc_request notifications for remaining catalog items?.   I want to add conditions like Item is not XXX then...

Pintu2 by Tera Expert
  • 3004 Views
  • 3 replies
  • 11 helpfuls

Resolved! UI action use scratchpad

HI All, I have a business rule capturing user logged in with some roles validation and captured in scratchpad value. and now I want to use that scratchpad in UI action - conditions section for displaying button on validation. How can I use g_scratchp...

Lean S by Mega Expert
  • 4637 Views
  • 5 replies
  • 0 helpfuls

Resolved! Jelly Script get Parameter from URL

Hello, I am trying to get parameter from the URL in UI pages. URL - https://xxxxxx.service-now.com/incident.do?sys_id=-1&sys_is_list=true&sys_is_related_list=true&sys_target=incident I have tried the below code <g:evaluate var="jvar_sys"> var sys...

rad2 by Mega Sage
  • 3119 Views
  • 15 replies
  • 4 helpfuls

Resetting/Emptying variable values onSubmit

I need to do multiple request/order of the same catalog form, using Add to Cart and I need to clear these two fields everytime I click on the add to cart button.Catalog Client Script doesn't work clearing/resetting/emptying the variables because it a...

nomadie by Kilo Expert
  • 3292 Views
  • 11 replies
  • 1 helpfuls

customization on "SC Order Guide" widget which controls the final summary page In OOB, the quantity column is not editable.

  Issue: requirement to change the quantity values in shopping cartDescription: Quantity in shopping cart of item based on variable Items selected for the the order guide This requirement would need a customization on "SC Order Guide" widget which co...

find_real_file.png