<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://servicenow.onl/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://servicenow.onl/feed.php">
        <title>S N O</title>
        <description></description>
        <link>https://servicenow.onl/</link>
        <image rdf:resource="https://servicenow.onl/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-10T23:22:05+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=background_scripts&amp;rev=1734034942&amp;do=diff"/>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=business_rules&amp;rev=1734113053&amp;do=diff"/>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=certs&amp;rev=1734357281&amp;do=diff"/>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=cleanup_scripts&amp;rev=1735565994&amp;do=diff"/>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=client_scripts&amp;rev=1734358102&amp;do=diff"/>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=rest_messages&amp;rev=1735566138&amp;do=diff"/>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=scheduled_jobs_scripts&amp;rev=1734017732&amp;do=diff"/>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=script_includes&amp;rev=1734018187&amp;do=diff"/>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=sidebar&amp;rev=1735312677&amp;do=diff"/>
                <rdf:li rdf:resource="https://servicenow.onl/doku.php?id=start&amp;rev=1708964812&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://servicenow.onl/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>S N O</title>
        <link>https://servicenow.onl/</link>
        <url>https://servicenow.onl/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://servicenow.onl/doku.php?id=background_scripts&amp;rev=1734034942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-12T20:22:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>background_scripts</title>
        <link>https://servicenow.onl/doku.php?id=background_scripts&amp;rev=1734034942&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://servicenow.onl/doku.php?id=business_rules&amp;rev=1734113053&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-13T18:04:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>business_rules</title>
        <link>https://servicenow.onl/doku.php?id=business_rules&amp;rev=1734113053&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://servicenow.onl/doku.php?id=certs&amp;rev=1734357281&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-16T13:54:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>certs</title>
        <link>https://servicenow.onl/doku.php?id=certs&amp;rev=1734357281&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://servicenow.onl/doku.php?id=cleanup_scripts&amp;rev=1735565994&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-30T13:39:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cleanup_scripts</title>
        <link>https://servicenow.onl/doku.php?id=cleanup_scripts&amp;rev=1735565994&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://servicenow.onl/doku.php?id=client_scripts&amp;rev=1734358102&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-16T14:08:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>client_scripts</title>
        <link>https://servicenow.onl/doku.php?id=client_scripts&amp;rev=1734358102&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://servicenow.onl/doku.php?id=rest_messages&amp;rev=1735566138&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-30T13:42:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>rest_messages</title>
        <link>https://servicenow.onl/doku.php?id=rest_messages&amp;rev=1735566138&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://servicenow.onl/doku.php?id=scheduled_jobs_scripts&amp;rev=1734017732&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-12T15:35:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>scheduled_jobs_scripts</title>
        <link>https://servicenow.onl/doku.php?id=scheduled_jobs_scripts&amp;rev=1734017732&amp;do=diff</link>
        <description>Scheduled Scripts

----------

Project Insight Update


/*MDP0722 10/23/2024
Take project insight response and update ServiceNow
*/

try {
ClearUserLog();
    var r = new sn_ws.RESTMessageV2(&#039;Project Insight Get Updates&#039;, &#039;Default Get&#039;);
    //response.setStringParametersNoEscape(&#039;hoursBack&#039;, &#039;24&#039;);

    var response = r.execute();
    var responseBody = response.getBody();
    var httpStatus = response.getStatusCode();
    var responseObj = JSON.parse(responseBody);

    for (var i = 0, len = r…</description>
    </item>
    <item rdf:about="https://servicenow.onl/doku.php?id=script_includes&amp;rev=1734018187&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-12T15:43:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>script_includes</title>
        <link>https://servicenow.onl/doku.php?id=script_includes&amp;rev=1734018187&amp;do=diff</link>
        <description>Script Includes

----------

Next</description>
    </item>
    <item rdf:about="https://servicenow.onl/doku.php?id=sidebar&amp;rev=1735312677&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-27T15:17:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sidebar</title>
        <link>https://servicenow.onl/doku.php?id=sidebar&amp;rev=1735312677&amp;do=diff</link>
        <description>&lt;https://NorthFDL.com&gt;   Weather in North Fond du Lac, WI.

----------

Downloads

----------

PAGES

----------

SCRIPTS

Projects

REST Messages

Background Scripts

Business Rules

Certs

Cleanup Scripts

Client Scripts

Fix Scripts

Flow Designer

Inbound Actions

Misc

Notification Email Scripts

Reference Qualifiers

Relationships

REST APIs

Scheduled Jobs Scripts

Script Includes

Service Portal

Transform Scripts

UI Actions

UI Code

UI Policies

Workflow Editor

XML

----------</description>
    </item>
    <item rdf:about="https://servicenow.onl/doku.php?id=start&amp;rev=1708964812&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-26T16:26:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://servicenow.onl/doku.php?id=start&amp;rev=1708964812&amp;do=diff</link>
        <description>Welcome to S N O 

----------

My Code

NON UTIL USER


// Run DEBUG NOW only. Do not run EXECUTE NOW.  This will give you a list of users that are NOT ITIL USERS.
//  This list of NON ITIL users will show up in the User Logs.     JWJ0215 02.19.24
ClearUserLog();
var gr = new GlideRecord(&#039;sys_user_has_role&#039;);
gr.addEncodedQuery(&#039;role.name=certification&#039;);
gr.query();
while (gr.next()) {
    var gr2 = new GlideRecord(&#039;sys_user_has_role&#039;);
    gr2.addEncodedQuery(&#039;user=&#039; + gr.user.sys_id + &#039;^role.…</description>
    </item>
</rdf:RDF>
