Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

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

Forum Posts

Resolved! How to replace Dynamic content in a string variable.

Hello all ,I am trying to replace all the contents present in one variable   in another variable dyamically as below.var src = g_form.getValue('U_test');   var src1= g_form.getValue('U_test1');var src2 = g_form.getValue('U_test2');var my_new_str = sr...

adarshs by Mega Contributor
  • 3241 Views
  • 2 replies
  • 0 helpfuls

VMWare and Serial Numbers

Client came to me with a need to modify Discovery. All of their ESX Servers had a VMWare serial number (e.g. 12345c1c-1234-123a-123b-b1c23f4c5678). They want the actual server's hardware manufacturer serial number instead. SSH and SNMP were not an op...

Resolved! How to filter out two column values at a time?

Hi All, I am looking for addQuery/addEncodedQuery..etc to write below scenario to filter out the two column values at a time.I have a two choice fields 'State' and 'Substate' with some choice values. I want to get the records which are not   in State...

Resolved! Reference field display value to String field on Catalog Item

How can I get a value from a Reference field to populate a String field via an OnChange client script (for a Catalog Item)?   Right now, all I can get is the Sys_ID.   The field needs to get populated initially with the cost_center field, based on th...

Shane J by Tera Guru
  • 3429 Views
  • 10 replies
  • 1 helpfuls

Trying to pull data from Service now using WSDL

I am trying to pull data from Service now into our EDW. I am using SSIS, I read about the performance issues and see there are other tools which would help replicate the tables. But for now when I am using SSIS's Web Service task and use 'get records...

swe1 by Kilo Explorer
  • 2856 Views
  • 7 replies
  • 0 helpfuls

Resolved! How to check if a group has members

Hi ServiceNow Community Developers,,I would like to check if an assignment group has members before assigning a ticket to it and issue an error message if it does not. I can easily write a script include to do this but I was wondering if there in as ...

johannes5 by Giga Expert
  • 2773 Views
  • 2 replies
  • 0 helpfuls

Resolved! Removing Hint text from a field

Hi All,I added some hint text for 'number' field by personalizing the label.Then after I removed the hint text,but still it showing on the number field whenever I hovering that field.Any idea on this?

Jelly script - For loop

Hi,How can we write the following code in a UI macro?Need it outside the g:evaluate tag.for (key in current.variables)   {             var v = gcurrent.variables[key];             gs.log(v.getGlideObject().getQuestion().getLabel());}

ideamax by Mega Expert
  • 3699 Views
  • 3 replies
  • 1 helpfuls

Report Ranges for the Future

Can anyone outline the basics of creating a set of Report Ranges for use with a DateTime field representing a future date, or point me to a good description?   The wiki documentation doesn't make any hint as to whether the functionality works with fu...

Resolved! Make any one of the Order Guide choices Mandatory

We have an order guide that contains a series of variables for user information and then lists a series of accounts the user can request.As things stand if the user doesn't choose an account and then selects the 'Choose Options' button it falls over ...

amacqueen by Mega Guru
  • 2876 Views
  • 14 replies
  • 0 helpfuls

Skip Business Rule

Hello--Is there anyway to run a business rule while importing data to that table through import set, but at the same time bypass the same business rule while loading data through webservice?I used isInteractive() which bypasses the BR while loading d...