Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Resolved! String Replacement w/ Regular Expression?

I'm certain that I'm missing something, and equally certain that what I'm missing is small and silly.  In Javascript, you can call string.replace(stringA, stringB), which will replace every instance of stringA with stringB; that's how ServiceNow's st...

rushputin by Mega Expert
  • 8883 Views
  • 4 replies
  • 2 helpfuls

Resolved! Adding a Group to a Ticket Watchlist

Is there a way to add a user group to the Now platform's watchlist? For example: If I wanted to add all members of the HR group to the watchlist, I could select from a list of groups to manage rather than each individual name. If this isn't available...

find_real_file.png
dmullinax by Mega Guru
  • 2661 Views
  • 3 replies
  • 1 helpfuls

Good Idea? Auto-Numbering Import Set Runs

The sys_import_set_run table has a number field. What's more, its display field is its Number field. Now, what's curious is that it has auto-numbering disabled, apparently causing both A) its number field to be unmaintainted/empty, and B) all referen...

find_real_file.png find_real_file.png
JosephW1 by Tera Guru
  • 3289 Views
  • 3 replies
  • 0 helpfuls

Get values from MRVS

Is there any way to get values from MRVS?Specifically, I would like to have a record producer variable automatically populated with the result of a calculation based on the following MRVS values.In the screenshot below, I want to multiply the "金額" an...

find_real_file.png
miyu by Tera Guru
  • 9930 Views
  • 6 replies
  • 2 helpfuls

Resolved! I want to delete a specific user's role from scripting

i've tried this but its not working as we can't delete the record even from table ui level  also tried to switch to security admin and tried to delete it its not working basically we can't delete this record var gr = new GlideRecord('sys_user_has_rol...

Ravi Borade by Giga Contributor
  • 3688 Views
  • 7 replies
  • 4 helpfuls