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

Forum Posts

Client Script vs UI Policy Explained

Sometimes we get confused between Client Script and UI Policy, therefore I try to explain in simple terms  1. Scripting Requirement: Client Script as the name suggests does require a script and you can not do anything without scripting knowledge, how...

spgarg04 by Giga Guru
  • 4283 Views
  • 1 replies
  • 11 helpfuls

UI page - call client script on load

Ahoy, I have UI page and I would like to call on load client script. Anyone has any idea how to do it? Similarly like  <body onload="myFunction()"> I am calling ajax (refresh ui page) and I'd like to call it initially also when the ui page is opened/...

ceskie by Kilo Guru
  • 2738 Views
  • 2 replies
  • 0 helpfuls

Populate Location

HI All, Please check the screenshot, how to populate the location field from one catalog item to another catalog item. Thank you

dileep0146 by Tera Contributor
  • 627 Views
  • 3 replies
  • 0 helpfuls

Resolved! Round-up to the nearest 15mins using in-built methods

Hi Community   var CutOffTimeGeneration = Class.create(); CutOffTimeGeneration.prototype = Object.extendsObject(AbstractAjaxProcessor, { calculateCutOffTime: function() { var gtime1 = new GlideDateTime(); gs.info("gtime1 : " + gtime1); var c...

SandaminiM by Tera Contributor
  • 1008 Views
  • 1 replies
  • 3 helpfuls

Not able to hide the variable set of a catalog item

Hi Im trying to hide my variable set Create new group based on the selection of the request type:  Using the following code: function onChange(control, oldValue, newValue, isLoading) { // if (isLoading || newValue == '') { // return; // } var type = ...

aditya174_0-1731424409231.png aditya174_1-1731424413895.png aditya174_2-1731424417365.png
aditya174 by Tera Guru
  • 1226 Views
  • 6 replies
  • 0 helpfuls

2 Step Record Producer

I have a need for a 2 step Record Producer and I'm not sure the best way to go about it. Situation:A manager needs to fill out a form with certain information, via a Record Producer, that then needs to go through an approval process, and if approved,...

Jess Thomas by Tera Contributor
  • 690 Views
  • 2 replies
  • 0 helpfuls

Resolved! Scripted Flow Action not accepting Array.Object

Hi all,I've got an action working perfectly from a Flow. This Flow runs when a user changes data in a table, using the changed data trigger. The action accepts the "Changed Fields" object, which has this structure:I'm attempting to run the Flow Actio...

SeanW1_0-1720555978249.png SeanW1_1-1720556574538.png SeanW1_2-1720556624301.png SeanW1_4-1720556767502.png
Sean W1 by Tera Expert
  • 1092 Views
  • 1 replies
  • 1 helpfuls

ATF: Test a form in different views.

I am working on ATF on a requirement where the requestor opens the form and clicks on "Final expenses" button and additional two fields are visible on the form (View changes in the same page after clicking on Final expenses) which are mandatory. I am...

S_59 by Tera Contributor
  • 1705 Views
  • 4 replies
  • 0 helpfuls

Is my SN BAs/Devs lying to me?

I am a help desk team leader and we have recently switched over to using service now. My fear was that since our team no longer updates our help desk form internally and is updated by our Service Now vendor team, we would have slower updates and poor...