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

Forum Posts

reload form on client script

Hi,I wrote onchange client script which checks if the value in a filed   is valid or not. If it is invalid i need to reload the form so that it get the previous value on that field.How should i do that in client script. Please let me know.Thanks

Resolved! How to delete multiple records using scheduled jobs

Hi All,I need to delete certain records in a table where a particular field has no value.I have done it for single record using the below code.var gr = new GlideRecord('table_name');gr.addQuery('sys_id','07dbd0ea4f005200634df5a18110c75c');gr.query();...

ramyashree by Giga Contributor
  • 4685 Views
  • 7 replies
  • 3 helpfuls

Resolved! endsWith() in business rule

Can i use current.name.endsWith() in a BR?   It doesnt seem to only be running on those conditions but is meeting all conditions.   As if the condition does not applyfunction onBefore(current, previous) {   //This function will be automatically calle...

Resolved! Set Category field in knowledge form readOnly

Hi,I am setting the fields in knowledge form read only based on some conditions.I have written an onLoad client script which is working when the state is published or retired and current user is not the manager of the corresponding knowledge base.I a...

anasuyaray by Mega Expert
  • 2555 Views
  • 4 replies
  • 3 helpfuls

PUT Method Error

Hi EveryoneI have created a PUT method using the REST API Explorer. But other team is not able to consume it with PUT, following error was shown with 415 code{   "error": {       "message": "Invalid content-type. Supported request media types for thi...

Resolved! Not able to view report using the published URL

Hi Experts,I created a report and published it. Then I copied the published URL and tried to open it in the new browser. But I am unable to view the report and it is showing 'Security constraints prevent access to requested page'. Basically this URL ...

diksh by Mega Contributor
  • 2428 Views
  • 3 replies
  • 5 helpfuls

Resolved! How to Change Label of a URL Field Type

Hello,On our Change Request form, we have a requirement to add two links to documents.   I created a URL field type and configured the labels:This is how it looks on the form:Works great, except I want to draw more emphasis to the links.   I would li...

Capture2.JPG Capture.JPG

Lookup multiple choice

Hi Anyone know how to set filter for a lookup multiple choice variable?  I want to display the values of replacement parts(lookup multiple choice) based on model selected.....

Resolved! Child incident creation through Business rules

Hi,I am pretty much new to this community and servicenow. I trying to create a child incident for an incident which was created through Scheduled Entity Generation.Scenario:Scheduled Entity Generation creates an incident where contact type is set 'Sc...

divvi_vamsi by Mega Expert
  • 3711 Views
  • 19 replies
  • 4 helpfuls

Redirect Parameters for login.do

Does anyone know of any parameters that can be used in the URL for the login.do page to redirect (after successful login) to an exact record?BASE URL: http://[instance-name].service-now.com/login.doIf it were a perfect world, adding in parameters to ...

kungfuu72 by Giga Expert
  • 3422 Views
  • 4 replies
  • 1 helpfuls

modify high contrast theme for one individual

I have a user which requires a high contrast color scheme which does not include the color white, due to the high reflection of the white colors.   This user is susceptible to frequent migraines and would like to set the background color for the cont...