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 large can an array be?

Hello!In an LDAP transform, I'm trying to disable groups that have been removed from AD by using an On Complete script.   I create an array of all groups in sys_user_group and an array of everything in the import set.   Then I use arrayUtil to give m...

Chris Bui by Giga Expert
  • 10470 Views
  • 8 replies
  • 10 helpfuls

Resolved! Hide Question Choice in Select Box variable

If the user indicates 'request_for_new_hire = No, I want to hide the 'New Hire' option in the 'employee_type' select box.  My script is not working:   function onChange(control, oldValue, newValue, isLoading) {   if (isLoading || newValue == '') {   ...

Resolved! Push group approval via workflow scratchpad

Dear All,   I am trying to push a group approval via scratchpad variable from Workflow. Here is the snippet : gs.log('Groupp ID is : '+workflow.scratchpad.chkGroup);   //contains sys_id of required groupvar answer = workflow.scratchpad.chkGroup;     ...

Puru2 by Tera Contributor
  • 1475 Views
  • 1 replies
  • 2 helpfuls

Resolved! Workflow Activity run as different user

Hello All, First of all, my sincere apologies for long question. below is background of my query.   I am working on one integration now. It uses OAuth2.0. I have setup working for this. I have authenticated third party application with myself logged ...

Ahmmed Ali by Giga Sage
  • 4803 Views
  • 3 replies
  • 1 helpfuls

Resolved! How to fill up annotation field from business rule script

Dear all, I am trying to display a clickable link on my task form in order to allow user to jum to a knowledge base article. In have try to add a field of type URL, but the problem is that it shows the whole URL syntax instead of only the text needed...

wakespirit by Kilo Guru
  • 3372 Views
  • 10 replies
  • 0 helpfuls

Resolved! OnChange Client script using a GlideRecord

Hi, I may well not be doing this correctly, but I am trying to run an onChange client script to assign the ci to a field from the user record. So I am  var user = g_form.getValue('u_requestor'); //Get the current user var gr = new GlideRecord('cmdb_...

Dan Brown2 by Kilo Sage
  • 12759 Views
  • 6 replies
  • 3 helpfuls

Resolved! Image in email script which redirects to a survey link

I want to use this image in an email script(Notification) so that when clicked on the image in email received then it redirects to servicenow. Below is the email script and I want to add the smiley on the end of notification.Can someone help? { temp...

find_real_file.png
anirban300 by Kilo Guru
  • 2771 Views
  • 6 replies
  • 3 helpfuls

Resolved! ODBC Test Connection getting failed

Hi All, I have followed steps from ServiceNow youtube and wiki page of how to set ODBC connection to SNow instance. My account is already in admin roles and soap roles in dev instance which mean I have access pretty much everything. I already set up ...

find_real_file.png
sk59 by Tera Expert
  • 5789 Views
  • 3 replies
  • 2 helpfuls

Resolved! Import set-Ensure mandatory fields are filled in excel sheet

Hi, We're upoading data to SNOW custom table through import set staging tables from excel file.  We wanted to make sure values are available for all mandatory fields in the excel file before data gets inserted into SNOW table. If a field value is mis...

G Balaji by Kilo Guru
  • 2338 Views
  • 9 replies
  • 0 helpfuls

GlideScriptableInputStream in Global Scope

Hello Community, I've written a Script Include to work with the ecc_queue. So far so good. While testing I came across the problem that for large JDBC results not the payload field is used instead the results get attached as a file to the input recor...

Tuna by Giga Guru
  • 1646 Views
  • 2 replies
  • 0 helpfuls

Resolved! Need a script to set a glide date field.

Hi All,  I am working on updating our RITM form to add in a ship date.   I have a choice field called "Item Status" (u_item_status_choice).  The default value is "NEW"  There are 2 other status's...."Awaiting Configuration" and "Shipped"  (The Label ...

carlh by Kilo Guru
  • 4039 Views
  • 3 replies
  • 0 helpfuls

Resolved! Service Portal - Individual Catalog Category pages

Hi, On our new service portal home page we want to have links which will take us to specific service catalog categories,  eg one for "IT stuff", one for "facilities", one for "business services" etc, I've created an icon link on the home page with th...

LG21 by Giga Contributor
  • 2055 Views
  • 9 replies
  • 1 helpfuls