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 get access to g_form of record opened by GlideModalFormV3

With GlideModalForm v3 it is possible to open a form in an overlay content dialog. GlideModalForm is also featuring a onloadCallbackfunction. How can we gain access to the g_form of the record object that has been opened by the GlideModaWindowExample...

Niclas by Giga Guru
  • 4580 Views
  • 11 replies
  • 3 helpfuls

How to check validity of a reference sys_id

Hi, I have a table "table1" with field "f1" which is a reference to "table2" sys_id. If a record in table2 is deleted, I want the value of f1 to get NULL value. Constraints: table2 is a rotating tabletable2 is usually a pretty large table I prefer no...

Dot walking using getReference in Client Script

Hi,Following is my Client script where i am fetching details of reference field and copying to my current form fields. For one field I need to go two level dot walking which is not working. function onChange(control, oldValue, newValue, isLoading, is...

rpoola by Tera Contributor
  • 18522 Views
  • 4 replies
  • 5 helpfuls

What is the difference between sys_plugins and v_plugin table.

Hi Team,  As per my understanding sys_plugin and v_plugin both tables stores meta-data of plugins, but there is major difference in number of activated plugins . If we talk about London release, v_plugin shows 394 activated plugins but sys_plugins sh...

rajesh58 by Kilo Contributor
  • 5602 Views
  • 9 replies
  • 8 helpfuls

How to reassign the ticket?

Hi Developers, I have a reqirement like below When a query comes to HRDesk and Hr people look into this , meanwhile they have no sollution for this to resolve, in this case they forward this ticket to SME(Subject Matter Expert) for resolving the issu...

Resolved! Client Script onChange - getReference()

Hello,  I have to compare two reference values from two different tables in onChange client script and am stuck, it works for one, but not sure how to implement the logic to actually compare the values...Any suggestion what is wrong with my script? P...

Halo10110 by Giga Contributor
  • 17199 Views
  • 5 replies
  • 4 helpfuls

Resolved! Ticket details to query into table from UI Page

Hello Friends, Please help me here, from emails hyperlinks we are opening a UI Page and updating table records. How do get ticket information to query into table and update tickets in UI Page.   Thanks, Basant

basantsoni by Kilo Guru
  • 1818 Views
  • 16 replies
  • 1 helpfuls

Addoption with index not working in Service Portal

Hi all, i am writing a onchange catalog client script to hide/remove the options in a variable depending on selection of other variable. I am using... GlideForm - addOption(String fieldName, String choiceValue, String choiceLabel, Number choiceIndex)...

find_real_file.png
nandusubbu by Tera Contributor
  • 2128 Views
  • 3 replies
  • 2 helpfuls

Resolved! Inserting a new record into a table via the workflow

Hello folks, Hoping you can help. I have a variable set and I want the variables on the variable set to be inserted into a table as a new record. I have a "Run Script" on the workflow as below. This just shows 3 of the variables as an example.  var s...

find_real_file.png

Resolved! EncodeURIComponent() issue in URL from New Call to Request

We are moving New Calls to Requests and need to include description and short description in the URL that opens up a Request Item.   Reserved and unsafe characters are stopping the URL from processing properly. What is the correct way to script the e...