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

Read ACL not working

The requirement is: we have security incidents application. There is a group called xyz. 1) When an incident is assigned to this group only the caller, opened by and memebers of that group should be able to see incidents assigned to this group. 2) If...

find_real_file.png

Resolved! Show option in dropdown

I have two lookup select drop down  Dropdown A ( Option 1a, Option 2a) Dropdown B ( Option 1b, Option 2b)   I want to show Option 1b in dropdown B when Option 1a is selected in dropdown A . ( should work on Native UI and portal)   Thanks

Sneha39 by Mega Guru
  • 3453 Views
  • 12 replies
  • 2 helpfuls

Resolved! Linting our code?

Hi all, I'm trying to integrate Servicenow with a linting tool such as eslint or jslint, to enforce standard and custom best practices.I can see Servicenow embeds Code mirror, which has an eslint plugin. Is there a documented or undocumented way to a...

Syvo by Giga Guru
  • 3104 Views
  • 5 replies
  • 7 helpfuls

Resolved! Need help on oAuth token which is getting expire

Hi,   currently i am working on integration with oAuth configuration and everything is working fine.    Now i see a message "OAuth Refresh token is available and will expire at 2019-11-24 17:12:29."  Can anyone please help me how to make auto refresh...

find_real_file.png

Resolved! CMDB Experts

If I open a Configuration Item, in the middle section there is a plus (+) sign that opens a Formatter, CI Relations. This formatter uses UI Macro ui_ng_relation_formatter. The XML in this macro uses template = ci_relations.xml or = ng_ci_relations.xm...

ggg by Giga Guru
  • 1208 Views
  • 3 replies
  • 2 helpfuls

Resolved! gs.getUser().getPreference() does NOT return the "value"

According to This Docs Page, it's saying that gs.getUser().getPreference() returns a "String".  It does not. So in a widget, I have the following code in the Server Script part: and this in my Client Script: I have a user preference on the sys_user_...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
xiaix by Tera Guru
  • 6029 Views
  • 10 replies
  • 2 helpfuls

Resolved! Background Script to update Date Fields

Hi all,   I have to update some records in Change table i.e i have to set work start with created date , work end with created +30 seconds . I have written like below but not working Can you please help var gr= new GlideRecord('change_request');gr.ad...

Community Alums by Community Alums  
  • 11098 Views
  • 17 replies
  • 9 helpfuls

Resolved! Redirect from a Script Includes?

Hi, I have a script includes that calls a UI action. The script includes and UI action together create a knowledge article. Once the article is created, I would like the knowledge article to be created. Instead, it's just reloading the form of the pa...

Sandy7 by Tera Expert
  • 6032 Views
  • 3 replies
  • 4 helpfuls

Resolved! Getting UI Page List Collector value

Hi there,  I am trying to get the values from a List Collector that I have coded on a UI Page so that I can set these values into a List Collector variable that I have created on the Change Request form. However, whenever I try to get the value of th...

How To Determine Active Nodes

I know I can find the information about instance cluster nodes in the sys_cluster_state table. However, how do I recognize which nodes are actually active? By active I mean nodes that serve user or API requests. Some of the nodes are in the DRC locat...

pavelmuller by Tera Contributor
  • 6971 Views
  • 1 replies
  • 1 helpfuls