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

Get Date difference

Hello, I would like to get a date difference in days between a Date field an Today date in Business Rule in scoped app.It try this:var start = current.startdate;   gs.addInfoMessage(start);var today = new GlideDate();//.getDisplayValue();   gs.addInf...

laszlobolya by Kilo Expert
  • 10140 Views
  • 4 replies
  • 3 helpfuls

Change sponsor and Change coordinator to be able to attach documents when Change is in 'Change Review / Pending Approval' State.

Change sponsor and Change coordinator to be able to   attach documents when Change is in 'Change Review / Pending Approval' State."Change sponsor" & "change coordinator" both are the fields in change form.I need to write a ACL to grant acces for this...

nageshmetri by Kilo Contributor
  • 2706 Views
  • 20 replies
  • 1 helpfuls

Mark incident as resolved with Rest API

I am trying to mark an incident as resolved via the REST AIP I have tried using the REST API explorer to send a post with the following body   {"state":"6"} which didn't seem to have any impact on the incident.

knowram by Kilo Explorer
  • 6803 Views
  • 11 replies
  • 3 helpfuls

Resolved! GlideRecord Update Huge records.. Best Practice

Is there a way to do bulk update other than this approach. This script works fine but i feel it might be causing performance issue.. Its one time update only.. But still would like to know what are the other alternative best practices, we havevar mac...

Restore a plugin to its original configuration

A customer has installed a plugin. Made modifications to it after install. Doesn't look like the modifications/updates were stored in update sets. Yet, now the customer wants to go back to the out of the box plugin default configuration. What steps c...

sherard by Mega Expert
  • 2664 Views
  • 8 replies
  • 0 helpfuls

Resolved! What video formats are accepted in a knowledge base document?

I am trying to import an mp4 video into a Knowledge Base document, but it is telling me "Attachment is not a recognized video file format".I have tried checking the documentation but can't find the answer.Can someone please tell me what formats are a...

tony_carter by Giga Contributor
  • 6845 Views
  • 16 replies
  • 3 helpfuls

Resolved! Create a unique value for field

I need some assistance on creating a unique value for a fields on the the cmdb table.I have using a client script on submit to create the alpahnumeric value but I need some help with checking if the value is unique and if not create another value.My ...

Lucy10 by Tera Contributor
  • 3070 Views
  • 8 replies
  • 0 helpfuls

Unable to set the Request item stage

Hi Team.I have a requirement to set   the stage of the Requested item based on the REQUEST.When the request is approved then I want to set the stage of the request item as "Request Approved".But the   default value of stage value is "waiting for appr...

Kusuma2 by Kilo Guru
  • 2045 Views
  • 6 replies
  • 0 helpfuls

How to get a to report against the total rejection count on the change request table, as well as being able to report how many times an approval group rejected on the approval [sysapproval_approver] table ?

Hello Team,I trying to get to report against the total rejection count on the change request table, as well as being able to report how many times an approval group rejected on the approval [sysapproval_approver] table .For the rejection count : - I ...

jennyjenny by Kilo Contributor
  • 2453 Views
  • 6 replies
  • 0 helpfuls

Service Portal Logout Action

Hi ExpertsI'm new to ServiceNow.Currently in my project, the system is redirect to http URL when I logout from service portal menu as follows.How can I configure to make sure it is redirect to https URL.Thanks in advance.

find_real_file.png
aungmon by Tera Contributor
  • 3318 Views
  • 4 replies
  • 0 helpfuls

Resolved! when we use client script types in Servicenow

I see there are 4 types in client scripts 1.onLoad2onChange3.onSubmit4.onCellEditWhen we use these functions in which scenario we segregate these functions ? For eg To validate mobile number format we can use onSubmit and onChange . Where is the exac...

GlideAjax on Servicenow Portal

Requirement : On Change of 'Requested for' variable for the catalog item , the variables value for location and manager should change according to 'Requested For'.I have implemented OnChange client script and called script include , it is working fin...