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.

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

Forum Posts

Getting "cannot read properties of null (reading parentNode)" error

I have written a onLoad client script to hide an annotation along with the fields inside it. if (cmdbtableservice == 'cmdb_ci_computer')       {        document.getElementById("functionalresponsible").parentNode.style.display = "none";        documen...

Ap_1_0-1709740858288.png
Ap_1 by Tera Contributor
  • 1308 Views
  • 2 replies
  • 0 helpfuls

Scripting

Hi everyone , I am unable to understand this script , can anyone please explain this script how it will work with comments .function onSubmit() {var action = g_form.getActionName();if (action != 'close_incident' && action != 'resolve_incident')return...

Ashok  kumar by Tera Contributor
  • 318 Views
  • 2 replies
  • 0 helpfuls

Free Voucher for CSA

Hi, When will the ServiceNow provide CSA vouchers for free. Thanks & regards,Vasanth.

SaiVasanth by Tera Guru
  • 1292 Views
  • 5 replies
  • 5 helpfuls

Resolved! Calculate duration from variable in a Catalog item.

I am still working with workflows, not flows. I have a need to flag an SCTASK as a high priority if the entered in the date/time variable on my form is less than 4 hours from the current date/time. 1.  There is a field called "Request Date/Time" whic...

Joe Taylor by Giga Guru
  • 951 Views
  • 5 replies
  • 0 helpfuls

Variable set with multiple check boxes

I have created a variable set with multiple check box type variables and want to make the variables read only on SC task and RITM. I have created a catalog UI policy but it is not working.

GBS by Tera Contributor
  • 425 Views
  • 3 replies
  • 0 helpfuls

Approvals are not triggering

Hello Team, Requirement : On catalog form have mrvs variable set(based on row creating multiple requests) and in mrvs there is brand(there are 10brands)variable ,based on brand triggering approval but sometimes it is not working . Through workflow i ...

srinath1391 by Tera Contributor
  • 237 Views
  • 1 replies
  • 0 helpfuls

Resolved! Copy currently inserted attachment

Hello TeamWhen attachment is added to sc task we need to copy it to ritm.but only currently inserted file/files,not those inserted yesterday and so on any advice on script in BR on attachment table.

Need to update the update comment person name in to system.

I would to made by the comment by the system instead of logged in user  var vk = gs.getUserDisplayName(); gs.addInfoMessage(vk); var gh = new GlideRecord('sc_req_item'); gh.addEncodedQuery("cat_item=060f3afa3731300054b6a3549dbe5d3e") gh.query(); whil...

Query Business rule

HelloA small query, if any one has see this on there environment happened any time We have a Query BR to restrict some Incident. When we moved this Production and this start updating some one ticket., lost if incident where were old got reopened Has ...

rajesh44853 by Tera Contributor
  • 632 Views
  • 5 replies
  • 0 helpfuls

Issue with mandatory field

Hi All, I have a field which is mandatory so as it should be but issue is that this field is with no value but field is no longer mandatory (no red)... what can be a reason? Thanks in advance for help! 

Kasia5_0-1709718034378.png
Kasia5 by Tera Contributor
  • 360 Views
  • 4 replies
  • 0 helpfuls