We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! Advanced User Criteria

Dear All, I've created a catalog item that provide managers the option to declare and create a new external login account. There is a user criteria giving access to the cat item only to managers. An evolution is requeried: Managers want to allow thei...

kaomamichou by Kilo Expert
  • 3966 Views
  • 16 replies
  • 3 helpfuls

Parent group roles not inherited - fix script

We have identified an error with ServiceNow where the BR to populate parent roles to child groups does not always work. This is down to the script timing out after 296 seconds and the huge amount of groups we have. ServiceNow HI have extended the tim...

AndyLock by Mega Guru
  • 2430 Views
  • 2 replies
  • 1 helpfuls

Resolved! Update requested item variables using REST API

Hi,Does anyone know if it is possible to update requested items variables using REST API?I tried it using the REST API Explorer, directly on the sc_req_item table with this body:========{"variables.person_name":"Eli"}=======i was able to update a fie...

Resolved! How to return user ID(on Record Producer)

Hi, I want to return the User ID (user_name) of the current user information on Record Producer.However, the name is returned.(Default Value) javascript: var user = new GlideRecord('sys_user'); user.get(gs.getUserID()); user.user_name; So here is my...

Mi4 by Tera Expert
  • 2226 Views
  • 2 replies
  • 2 helpfuls

How can I add UI policies in List collector? I just want few variable to get visible when some values from the List collector is selected.

Hi All,   I created UI policy for List collector so that few variable gets visible when certain values are selected from the List collector variable. When to apply condition is: UI Action to the above policy is: But this doesn't seems to be working...

find_real_file.png find_real_file.png
angel_sadhu1 by Tera Contributor
  • 2842 Views
  • 4 replies
  • 4 helpfuls

GlideModal/UI Page help

I have an onChange client script which performs a GlideAjax call, queries a knowledge article and returns the article (wiki) text. The script then opens a GlideDialog window: function onChange(control, oldValue, newValue, isLoading, isTemplate) { if...

find_real_file.png find_real_file.png find_real_file.png
Community Alums by Community Alums  
  • 2503 Views
  • 3 replies
  • 1 helpfuls

Restart the Servers automatically.

How to Restart the Services of Mid Servers automatically through servicenow. All these days we were doing manually by login in to the server. Please provide your thoughts how to restating the services through service-now automatically through scripti...

prasannal by Kilo Contributor
  • 2972 Views
  • 4 replies
  • 1 helpfuls