<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://snow.johnsonjohn.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://snow.johnsonjohn.net/feed.php">
        <title>SERVICENOW FUN </title>
        <description></description>
        <link>https://snow.johnsonjohn.net/</link>
        <image rdf:resource="https://snow.johnsonjohn.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-08-14T23:28:42+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=background_scripts&amp;rev=1782764397&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=bat_files&amp;rev=1782764397&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=business_rules&amp;rev=1782764397&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=certs&amp;rev=1782764397&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=cleanup_scripts&amp;rev=1782764397&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=client_scripts&amp;rev=1782764397&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=fix_scripts&amp;rev=1782764397&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=flow_designer&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=inbound_actions&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=misc&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=rest_messages&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=scheduled_jobs_scripts&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=script_includes&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=sidebar&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=start_scripts&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=start&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=syntax_editor_macros&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=transform_scripts&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=ui_actions&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=ui_scripts&amp;rev=1782764398&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=update_sets&amp;rev=1782764399&amp;do=diff"/>
                <rdf:li rdf:resource="https://snow.johnsonjohn.net/doku.php?id=xml&amp;rev=1782764400&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://snow.johnsonjohn.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>SERVICENOW FUN </title>
        <link>https://snow.johnsonjohn.net/</link>
        <url>https://snow.johnsonjohn.net/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=background_scripts&amp;rev=1782764397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>background_scripts</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=background_scripts&amp;rev=1782764397&amp;do=diff</link>
        <description>Background Scripts

----------

Approve


var app = new GlideRecord(&#039;sysapproval_approver&#039;);
app.addQuery(&#039;state&#039;,&#039;requested&#039;);
//app.setLimit(30);
app.query();
while(app.next())
{
    gs.print(&#039;Approval count in requested state &#039;+app.getRowCount());
    app.state=&#039;approved&#039;;
    app.update();
}</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=bat_files&amp;rev=1782764397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bat_files</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=bat_files&amp;rev=1782764397&amp;do=diff</link>
        <description>BAT Files

----------

Mapped Drives


rem 2.11.25
rem John Johnson
rem Network Drives on Lenovo Laptop   NFDL-Lenovo
rem     First delete if already there
net use A: /delete
net use D: /delete
net use I: /delete
net use L: /delete
net use M: /delete
net use O: /delete
net use P: /delete
net use S: /delete
net use T: /delete
net use W: /delete
net use Z: /delete
timeout /t 15 /nobreak

net use A: \\wis54937ts\apps /Persistent:yes /user:admin -Password-
net use D: \\wis54937ts\documents /Persiste…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=business_rules&amp;rev=1782764397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>business_rules</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=business_rules&amp;rev=1782764397&amp;do=diff</link>
        <description>Business Rules

----------

Project Insight Update


// JWJ0215 10.30.24         -       Last tested on 10.30 @ 2.42 pm
// Project Insight Update Script
// This script will get needed data from the ServiceNow Project Request (before approved for a project), and
// push the data to Project Insight.

(function executeRule(current, previous /*null when async*/ ) {
    var payload = {};

    // get user from user table
    var gr = new GlideRecord(&quot;sys_user&quot;);
    gr.addQuery(&quot;sys_id&quot;, current.reque…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=certs&amp;rev=1782764397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>certs</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=certs&amp;rev=1782764397&amp;do=diff</link>
        <description>Certs

----------

PowerShell Certs

CSR Generator


## PowerShell Script to generate a Certificate Signing Request (CSR) using the SHA256 (SHA-256) signature algorithm and a 2048 bit key size (RSA) via the Cert Request Utility (certreq) ##

&lt;#
JWJ0215 2023
#&gt;

###
##
#   YOU WILL NEED TO START ISE AS OTHER USER TO RUN....

####################
# Prerequisite check
####################
if (-NOT([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Sec…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=cleanup_scripts&amp;rev=1782764397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cleanup_scripts</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=cleanup_scripts&amp;rev=1782764397&amp;do=diff</link>
        <description>Cleanup Scripts

Post Clone Cleanup Script


//JWJ0215 6.14.24
//Upload to PROD instance by navigating to system definition&gt;upload file
//This file will LIVE in PROD so it will copy down when cloned.  Do NOT RUN THIS IN PROD !!
// DO NOT MAKE THIS ACTIVE IN PRODUCTION
// *****    DEV begins on line 34       TEST begins on line 195       SAND begins on line 337   *****
//define the instance names here
TimestampLog(&quot;START POST CLONE Cleanup Script - Post_CLONE_Scripts&quot;);
var devInstance = &quot;&lt;instan…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=client_scripts&amp;rev=1782764397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>client_scripts</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=client_scripts&amp;rev=1782764397&amp;do=diff</link>
        <description>Client Scripts

Variable Field read_only FALSE


g_form.setReadOnly(&#039;short_title&#039;, false);


----------

Incident

Assigned to/Assignment group change


function onChange(control, oldValue, newValue, isLoading, isTemplate) {
    if (isLoading || newValue === &#039;&#039;) {
       return;
    }
 
    //Type appropriate comment here, and begin script below
     if (newValue != oldValue) {
             g_form.setMandatory(&quot;assigned_to&quot;,false);
         }  
 }</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=fix_scripts&amp;rev=1782764397&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>fix_scripts</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=fix_scripts&amp;rev=1782764397&amp;do=diff</link>
        <description>Fix Scripts

----------

SLAs


// P1 Resolution - 2 hour|26b995b51beb74504b8aa756624bcb75|P1 Resolution - 1 hour (Service Desk)|ce81803e1b70c914c4fec913604bcb1e|
// P1 Response - 15 mins|a31795b51beb74504b8aa756624bcb59|P1 Response - 15 mins (Service Desk)|725188fa1b70c914c4fec913604bcbf0|
// P2 Resolution - 4 hours|55ea15b91beb74504b8aa756624bcbec|P2 Resolution - 8 hours (Service Desk)|4031c4fa1b70c914c4fec913604bcbe1|
// P2 Response - 1 hour |7a3a51791beb74504b8aa756624bcba9|P2 Response - 1 h…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=flow_designer&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>flow_designer</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=flow_designer&amp;rev=1782764398&amp;do=diff</link>
        <description>Flow Designer

----------

Application Asscess Tasks Status


(function execute(inputs, outputs) {
    // ... code ...
    
    var ritmSysID = inputs.ritmSysID
    
    var grTask = new GlideRecord(&#039;sc_task&#039;);
      grTask.addQuery(&#039;request_item&#039;, ritmSysID);
      grTask.addQuery(&#039;active&#039;, true);
      grTask.query();
        if(grTask.hasNext()) {
          outputs.taskscompleted = &#039;false&#039;;
        }
        else {
          outputs.taskscompleted = &#039;true&#039;;
        }
    
    })(inputs, outpu…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=inbound_actions&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>inbound_actions</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=inbound_actions&amp;rev=1782764398&amp;do=diff</link>
        <description>Inbound Actions

----------

BCA PC


(function runAction(/*GlideRecord*/ current, /*GlideRecord*/ event, /*EmailWrapper*/ email, /*ScopedEmailLogger*/ logger, /*EmailClassifier*/ classifier) {

	// Implement email action here
	
	var subject = email.subject;
	var workstation = subject.replace(&#039;ALERT: Node &#039;,&#039;&#039;).replace(&#039; is Down&#039;,&#039;&#039;).trim();
	
	var gr = new GlideRecord(&#039;cmdb_ci&#039;);
    gr.addQuery(&#039;name&#039;, workstation);
    gr.query();
    
    if (gr.hasNext()) {
		while (gr.next()) {
			current.…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=misc&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>misc</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=misc&amp;rev=1782764398&amp;do=diff</link>
        <description>Miscellaneous

----------

Multiple GETs


//Get Current Role
gs.hasRole(&#039;itil&#039;);

//Get Current User
javascript:gs.getUserID();
gs.getUser().getUserByID(current.approver).hasRole(&#039;itil&#039;);

//Get Instance Name
gs.getProperty(&quot;instance_name&quot;);

//Get Instance URL
gs.getProperty(&#039;glide.servlet.uri&#039;)</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=rest_messages&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>rest_messages</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=rest_messages&amp;rev=1782764398&amp;do=diff</link>
        <description>REST MESSAGES

----------

Project Insight Get Updates


/*

// LINK
 https://&lt;instance&gt;.service-now.com/now/nav/ui/classic/params/target/sys_rest_message.do%3Fsys_id%3D1f330e0c876d5610fdd876a6cebb358b%26sysparm_view%3D%26sysparm_record_target%3Dsys_rest_message%26sysparm_record_row%3D5%26sysparm_record_list%3DORDERBYname%26sysparm_record_rows%3D10

 Description;
     Get projects that have been updated in Project Insight

 EndPoint; https://&lt;TC&gt;is-sandbox.projectinsight.net/api/thedacare-snow/g…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=scheduled_jobs_scripts&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>scheduled_jobs_scripts</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=scheduled_jobs_scripts&amp;rev=1782764398&amp;do=diff</link>
        <description>Scheduled Scripts

----------

Application Update Checker


// JWJ03.14.24  This will check all applications installed to see if there is an update
//run in xplore
ClearUserLog();
var apps =
    new sn_appclient.AppsDataAPI()
    .appsData
    .getAllAppsWithVersions(false, true, false, false)[&#039;data&#039;]

apps.forEach(function(app) {
    var hasUpdate =
        app.version &amp;&amp;
        app.active &amp;&amp;
        app.latest_version != app.version &amp;&amp;
        app.can_install_or_upgrade &amp;&amp;
        app.isInsta…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=script_includes&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>script_includes</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=script_includes&amp;rev=1782764398&amp;do=diff</link>
        <description>Script Includes

----------

SP Entry Page


/** 
 *
 *  Service Portal sample script include to indicate 
 *  1. which login page should be used
 *  2. the starting page after the user is authenticated 
 * 
 *  Script is configured using system properties
 
 *  PROPERTY                        VALUE
 *  glide.entry.page.script         new SPEntryPage().getLoginURL(); 
 *  glide.entry.first.page.script   new SPEntryPage().getFirstPageURL();
 * 
 * functions can return a path or null if no overrid…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=sidebar&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sidebar</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=sidebar&amp;rev=1782764398&amp;do=diff</link>
        <description>&lt;https://NorthFDL.com&gt;   Weather in North Fond du Lac, WI.

----------

Downloads

----------

PAGES

BAT FILES

----------

SCRIPTS

Background Scripts

Business Rules

Certs

Cleanup Scripts

Client Scripts

Fix Scripts

Flow Designer

Inbound Actions

Misc

Notification Email Scripts

Projects

Reference Qualifiers

Relationships

REST APIs

REST Messages

Scheduled Jobs Scripts

Script Includes

Service Portal

Syntax Editor Macros

Transform Scripts

UI Actions

UI Policies

UI Scripts

Upd…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=start_scripts&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start_scripts</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=start_scripts&amp;rev=1782764398&amp;do=diff</link>
        <description>BAT Files

----------

Shared Drives


rem 2.11.25
rem John Johnson
rem Network Drives on Lenovo Laptop   NFDL-Lenovo
rem     First delete if already there
net use A: /delete
net use D: /delete
net use I: /delete
net use L: /delete
net use M: /delete
net use O: /delete
net use P: /delete
net use S: /delete
net use T: /delete
net use W: /delete
net use Z: /delete
timeout /t 15 /nobreak

net use A: \\wis54937ts\apps /Persistent:yes /user:admin -Password-
net use D: \\wis54937ts\documents /Persiste…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=start&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=start&amp;rev=1782764398&amp;do=diff</link>
        <description>Buttons

List Button

(function(){var myURL = window.location.href;myURL = decodeURIComponent(myURL);if ( myURL.indexOf(&quot;service-now.com/&quot;) &lt; 0 &amp;&amp; myURL.indexOf(&#039;wwwsnow&#039;) &lt; 0 ){alert(&quot;Looks like you are not on a ServiceNow page.&quot;);return;}if ( myURL.indexOf(&quot;_list.do&quot;) &gt; 0){alert(&quot;Looks like you are already in a List View, not a Form.&quot;);return;}var indexOfColonSlashSlash = myURL.indexOf(&quot;://&quot;);var indexOfFunctionPath = myURL.indexOf(&quot;/&quot;, indexOfColonSlashSlash + 3) + 1;var domainPath;var remain…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=syntax_editor_macros&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>syntax_editor_macros</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=syntax_editor_macros&amp;rev=1782764398&amp;do=diff</link>
        <description>Syntax Editor Macros

----------

Client-Side Key Concepts

JWJ


//name jwj
//Text
//Client-Side Key Concepts
c_GeneratingMessages
c_GlideAjaxMethod
c_GlideRecordDatabaseAccess
c_GlideRecordGetReferenceDatabaseAccess
c_ReusableScript
c_ScratchpadDatabaseAccess
c_TryBlock
 
//Server-Side Key Concepts
s_AjaxFunctionDefinition
s_CurrentAndPreviousGlideRecordObjects
s_EventDefinitionAndTriggering
s_ExcelFileProcessing
s_GeneratingMessages
s_GlideRecordDatabaseAccess
s_GlideRecordDatabaseInsert
s_Ja…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=transform_scripts&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>transform_scripts</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=transform_scripts&amp;rev=1782764398&amp;do=diff</link>
        <description>Transform Scripts

----------

LDAP Transform


//JWJ0215 2022
// The manager coming in from LDAP is the DN value for the manager.  
// The line of code below will locate the manager that matches the
// DN value and set it into the target record. To ignore the manager 
// from LDAP, remove or comment out the line: ldapUtils.setManager(source, target);
//
// NOTE: The &#039;manager&#039; field SHOULD NOT be mapped in the &#039;Field Maps&#039; related list
// if the manager is brought in through an LDAP import.  The…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=ui_actions&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ui_actions</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=ui_actions&amp;rev=1782764398&amp;do=diff</link>
        <description>UI ACTIONS

----------

Assign To Me


//Credit to: https://servicenowguru.com/system-ui/ui-actions-system-ui/client-server-code-ui-action/

//Onclick: runClientCode();
//Condition: gs.hasRole(&#039;itil&#039;)&amp;&amp; gs.getUser().isMemberOf(current.assignment_group.toString())

//Client-side &#039;onclick&#039; function
function runClientCode(){
	g_form.setMandatory(&quot;assigned_to&quot;,false);
//Call the UI Action and skip the &#039;onclick&#039; function
gsftSubmit(null, g_form.getFormElement(), &#039;assignToMe&#039;); //MUST call the &#039;Action…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=ui_scripts&amp;rev=1782764398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ui_scripts</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=ui_scripts&amp;rev=1782764398&amp;do=diff</link>
        <description>UI SCRIPTS

----------

Enable Syntax Editor Macros


&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;unload unload_date=&quot;2018-10-15 18:33:11&quot;&gt;
&lt;sys_ui_script action=&quot;INSERT_OR_UPDATE&quot;&gt;
&lt;active&gt;true&lt;/active&gt;
&lt;description/&gt;
&lt;global&gt;false&lt;/global&gt;
&lt;name&gt;widgetMacros&lt;/name&gt;
&lt;script&gt;&lt;![CDATA[(function(){
  
  //object to store macros in
  var macrosObj={
  };
  
  var fn = function(e){
    var keyCode = e.keyCode || e.which;
    
    //check if key pressed is TAB
    if (keyCode == 9) {
      
      //get D…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=update_sets&amp;rev=1782764399&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:19:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>update_sets</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=update_sets&amp;rev=1782764399&amp;do=diff</link>
        <description>Update Sets

----------

Main Update Sets

----------

UserLog Complete Update Set


&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;unload unload_date=&quot;2025-01-08 18:09:28&quot;&gt;
&lt;sys_remote_update_set action=&quot;INSERT_OR_UPDATE&quot;&gt;
&lt;application display_value=&quot;Global&quot;&gt;global&lt;/application&gt;
&lt;application_name&gt;Global&lt;/application_name&gt;
&lt;application_scope&gt;global&lt;/application_scope&gt;
&lt;application_version/&gt;
&lt;collisions/&gt;
&lt;commit_date/&gt;
&lt;deleted/&gt;
&lt;description/&gt;
&lt;inserted/&gt;
&lt;name&gt;JWJ-User Log Complete-2025 MAIN&lt;/name&gt;
&lt;o…</description>
    </item>
    <item rdf:about="https://snow.johnsonjohn.net/doku.php?id=xml&amp;rev=1782764400&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-29T20:20:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>xml</title>
        <link>https://snow.johnsonjohn.net/doku.php?id=xml&amp;rev=1782764400&amp;do=diff</link>
        <description>XML

----------

Capital Request Financial Analyst


&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;unload unload_date=&quot;2023-09-27 15:42:43&quot;&gt;
&lt;sys_remote_update_set action=&quot;INSERT_OR_UPDATE&quot;&gt;
&lt;application display_value=&quot;Global&quot;&gt;global&lt;/application&gt;
&lt;application_name&gt;Global&lt;/application_name&gt;
&lt;application_scope&gt;global&lt;/application_scope&gt;
&lt;application_version/&gt;
&lt;collisions/&gt;
&lt;commit_date/&gt;
&lt;deleted/&gt;
&lt;description/&gt;
&lt;inserted/&gt;
&lt;name&gt;JWJ-Capital Request Financial Analysts&lt;/name&gt;
&lt;origin_sys_id/&gt;
&lt;parent di…</description>
    </item>
</rdf:RDF>
