We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

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
  • 2368 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
  • 2672 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...

Resolved! how to restrict access to portals without roles

How do I user control access to portals without using roles?  I currently have my instances configured so that my users get directed to my /sp portal if they have no roles.  I want to be able to create a second portal (external facing) and limit spec...

TimW1 by Tera Expert
  • 5228 Views
  • 2 replies
  • 0 helpfuls

Resolved! Trouble with parsing JSON result from REST

Hi, everyone.  I'm hoping y'all can help me.  I'm calling an outbound REST message through a business rule to another ServiceNow instance (a vendor's instance) using the Table API.  That part is working fine.  I've set the application type as JSON, a...

truzicki by Mega Expert
  • 4243 Views
  • 6 replies
  • 4 helpfuls

In UI Script addLoadEvent function is not working

Hi  i using madrid-12-18-2018__patch0-01-08-2019_01-17-2019_1433 version instance. we are facing an issue in UI script. we written the code for redirect the instance page to portal page based on the user roles. but in Madrid "addLoadEvent" function i...

subbarao2 by Tera Contributor
  • 2950 Views
  • 4 replies
  • 1 helpfuls

Resolved! Data lookup tables incorrectly setup - how best to correct?

Hi All, I've recently watched the video on the learning portal for the new licence model that is in place for Madrid release onwards.  With this now having a licence limit on the number of custom tables, I've started the process before we look to upg...

Sam Ogden by Tera Guru
  • 2423 Views
  • 5 replies
  • 0 helpfuls

Resolved! Arrays and List Fields

I having trouble with an array.  I'm trying to find if any of the choices that were selected is a Tier 3 group type.  If so, then stop processing and make tier3 = true.  So I hard coded the array and tested it on the BackGround Script: var tor = "Big...

kemmy1 by Tera Guru
  • 2067 Views
  • 3 replies
  • 2 helpfuls

Resolved! Filter Assignment Group field by hasRole

I've created a new application to which I have extended the Task table.I have 2 type of groups, one of which will have an admin role associated to it and all others will have a user role associated to it.I want to filter the the assignment_group fiel...