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

Resolved! How to wait the script until receive response from Rest API

Hi All,   I am sending the request from ServiceNow but it's around 40sec  to receive a response  can anyone tell me how to wait till the receive the response  try { var r = new sn_ws.RESTMessageV2('Intelligence', 'Get Priority'); r.setStringParame...

ramesh_r by Mega Sage
  • 6187 Views
  • 2 replies
  • 0 helpfuls

How to Repair MySQL InnoDB Table That Has Issues?

When trying to run: delete IdentityRequest *I get an error of sailpoint.tools.GeneralException: null index column for collection: sailpoint.object.IdentityRequest.itemsDoing a select * from spt_identity_request_item where id is null; returns no resu...

Change Request: Revert to New/Request Approval

After releasing the Change management module to our users on Istanbul, we are in the process of upgrading to Kingston. We noticed the new ui action "Revert to New" but it wasn't functioning for us. After some digging I found that the script include i...

Record producer script for reference field

Hi, I have a requirement to create a record producer for users to create new incident through portal. However there is one key requirement when user select choices on  "Services Selection" then it should map with reference value in product field on i...

find_real_file.png
denu by Kilo Expert
  • 1770 Views
  • 3 replies
  • 0 helpfuls

Service Portal Google Maps widget

I'm trying to build a google maps widget that shows the logged in user's location.   My html is as follows:<div class="map-container">   <iframe frameborder="0" src="https://www.google.com/maps/embed/v1/place?key=AIzaSyCmoLpiJFrdXLLUYsM3PRfPD0zQ0uATA...

yundlu316 by Kilo Guru
  • 3541 Views
  • 8 replies
  • 1 helpfuls

Delete application files in Studio

Hi,I created a Form by mistake in Studio.(red frame of attached image) I want to delete, but I do not know how to erase.where is it?

Str by Mega Contributor
  • 4453 Views
  • 10 replies
  • 9 helpfuls

Show list collector values based on variable selection

Hello - I have a service request that has a dropdown variable (where user can select 1 value). Based on that, I have a list collector. I want only certain values to show up in the list collector based on what is selected in the dropdown variable.  So...

find_real_file.png find_real_file.png
Sandy7 by Tera Expert
  • 3355 Views
  • 2 replies
  • 3 helpfuls

Resolved! How to use GlideDateTime.subtract output

Hello, I want to check difference between two dates, and based on that change background of the field. For so far in client script I'm take the due_date from form and pushing it to include script. In include script I'm subtracting today date and the...

Resolved! Create a new Choice Option On GlideRecord Insert

I create a script that insert new records in a table. One of table fields is a Choice List. How can I check on insert if the desired value for Choice List field exists, and create a new Choice Option if not ?

whitewalker by Kilo Contributor
  • 4034 Views
  • 4 replies
  • 2 helpfuls

Resolved! OnBefore TransformScript to delete Target records

Hello All, When a record is passed using Transform Map, and if sys_id of the source record matches with Target record and if it contains all the fields empty then it should delete the target record. Can anyone suggest me how to do that.     Thanks & ...

swaroop by Kilo Sage
  • 1581 Views
  • 11 replies
  • 1 helpfuls