Get Count Using GlideAggregate ServiceNow | Working Code
Optimize data queries with GlideAggregate in ServiceNow. Learn how to efficiently count records and perform aggregations on your ServiceNow platform using GlideAggregate.
2 notes
·
View notes
Java Code to Find a List of Prime Numbers (Step by Step)
1. Find the Factors of a Number
2. Find if a Number is Prime (Factors should be 1 and Number itself)
3. Find the list of Prime numbers
0 notes
Learning Code
Learning how to code at AIE for prototyping purposes. Oh my God I’m lovin’ it. One of the things we made today was a flight simulator.
Basic steering and game controls were more or less hand-fed to us. We also added terrain limits, and caused the ships to reset when hitting colliders. But while learning that and using skills we learnt before, we were allowed to add other mechanics.
I decided to try create a Boost Gauge. Using the Boost increases speed while draining the Gauge. The Gauge also self regenerates up to a max capacity and when fully drained, stops working. But the most important is that it shows on the UI.
I hope to later in the week, add a hazardous particle effects that kill the ship as well as add another player and have them kill each other with bullets and etc.
11 notes
·
View notes
GlideForm API ServiceNow | g_form.addOption
Dynamically Display Choices In My Select Box Field. g_form.addOption Get more on ServiceNow at Working Code developer forum.
2 notes
·
View notes
Get Current date/time in Client Script ServiceNow
Discover how to retrieve the current date and time in Client Scripts within ServiceNow. Our step-by-step guide empowers you to leverage JavaScript functions to dynamically access real-time data, enhancing your ServiceNow workflows and improving user interactions.
var ajax = new GlideAjax('ClientDateTimeUtils');
ajax.addParam('sysparm_name','getNowDateTime');
ajax.getXMLAnswer(doSomething);
Get complete solution here - https://www.workingcode.in/question/get-current-date-time-in-client-script-servicenow/
1 note
·
View note
Generate CSV file through script ServiceNow
Learn how to effortlessly generate CSV files from ServiceNow using scripting. Our comprehensive guide empowers you to automate data exports, streamline reporting, and enhance data management with ease, optimizing your ServiceNow experience
var Headers = ["Number","Requested for","Description","Assignment Group", "Assigned To"];
var fileName = 'IncidentRecord.csv';
var csvData = ";
for (var i = 0; i < Headers.length; i++) { //Build the Headers
csvData = csvData + '"' + Headers[i] + '"' + ',';
}
Get a complete solution - https://www.workingcode.in/question/how-to-generate-csv-file-through-script-servicenow/
1 note
·
View note
Find the Smallest and Largest Number in a Array of Integers using Java For loop
https://www.computengine.com/2021/06/find-min-and-max-number-in-array-of.html
0 notes