Andre Dev Log
Andre Dev Log
Home
Posts
Snippets
About me
Code Snippet
Working with g_list
Variable selectedSysIds will consist of sys_id`s of selected records. To be used from a UI Action (List). var selectedSysIds = …
Oct 28, 2020
Code snippet
,
ServiceNow
Manipulate URL from client script
Useful snippets for working with URL from a lient script Redirect to a page with a form for creating a new record var query = [ …
Oct 28, 2020
Code snippet
,
ServiceNow
Encoded query
Most of the times its much easier to work with encoded query instead of builing a query with GlideRecord API: var query = …
Oct 25, 2020
Code snippet
,
ServiceNow
Using GSLog
GSlog is the best way to output log infos from ServiceNow server scripts. Consider this snippet to get started. var logger = new …
Oct 10, 2020
Code snippet
,
ServiceNow
Clone any record
Get all fields of a source record and clone into a new one
Jan 22, 2020
Code snippet
,
ServiceNow
,
Release: Orlando
Redirect from record producer
How to redirect to another portal from record producer
Jan 1, 2020
Code snippet
,
ServiceNow
,
Release: New York
Get a GlideRecord with a single line code
A simple code snippet for getting a GlideRecord
Jan 1, 2020
Code snippet
,
ServiceNow
,
Release: Orlando
Cite
×