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

Forum Posts

gs.action.getGlideURI().get('x_referer')

gs.action.getGlideURI().get('x_referer') - Post Istanbul upgrade getGlideURI is not returning x_referer anymore ..Because of this i am unable to access parameters from URL in a map pge script ? I will appreciate your insights on this. ThanksSwami

swami_n by Kilo Contributor
  • 9158 Views
  • 9 replies
  • 0 helpfuls

inactive catalog items Service portal

Hi Everyone, I had a question related to service portal OrderGuide. In the Order Guides we have "Mobile devices" and "Type of laptop" variables. When i select "Type of laptop" is "Mac" in the Next tab we will fill the all required information about t...

Murali19 by Kilo Contributor
  • 1482 Views
  • 5 replies
  • 0 helpfuls

Resolved! Help on array / indexOf in script

Hoping someone can provide some guidance on an issue I'm trying to solve. I have a script in an inbound action that looks at recipients, puts them in an array and then looks for specific values. I thought I had found a way to look for multiple values...

Marcel H_ by Tera Guru
  • 3494 Views
  • 12 replies
  • 4 helpfuls

Restarting Cancelled Workflows (restartWorkflow())

Can you restart a cancelled workflow?  I have a number of cancelled workflows that need to be restarted but not all of them. All approvals can remain intact for each one I need to restart.  I understand that the function is restartWorkflow(current,bo...

Resolved! Filter Reference Field Based on User's Groups

We are building a Form in ServiceNow, where certain users can upload attachments that will be attached to certain Service Catalog Items. So, we currently have a Control table, that tracks the Catalog Items that we allow this for, and the Group that c...

jmiskey by Kilo Sage
  • 7960 Views
  • 5 replies
  • 1 helpfuls

Resolved! Sum/Total Catalog Item Variable Values

I have 3  variables on a catalog item that users can input numbers into. I am trying to sum them and input the total value into another variable as they input the values, but I cant get it to calculate.   function onChange() {   var sathours = g_form...

Resolved! Variables is empty for GlideRecord query record.

Variables is empty for GlideRecord query record, even though it has variables.   var req = new GlideRecord('sc_req_item'); req.addQuery('sys_id','=','XXXXXXXXXXXXX'); req.query(); while (req.next()) { // req.variables is empty }   How to get th...

Rajesh73 by Mega Contributor
  • 2748 Views
  • 13 replies
  • 0 helpfuls

Resolved! Priority Calculation

Hi All, I need a small info/explanation of the functionality of Priority calculation in Incident form of ServiceNow.  Could someone please elaborate on this functionality. This is for the below requirement: -->  I'm creating a new application called ...

Nani7 by Tera Contributor
  • 8977 Views
  • 8 replies
  • 8 helpfuls

Resolved! Open a modal after form submission

Hi guys,I was wondering if I could open a modal popup with some data in it after a record producer is submitted in Service Portal. I have this record producer that requires displaying some information to the users upon submitting a form and wonder if...

jonndoe by Kilo Contributor
  • 7791 Views
  • 29 replies
  • 3 helpfuls