Skip to content

The Snowball

A ServiceNow Blog & Newsletter

  • Newsletter
  • Learn ServiceNow
    • Best Practices
    • ServiceNow Admin
    • Career Advancement
    • Scripting
    • Advanced
    • Platform Management
    • REST API
    • Service Portal
    • Styling
    • Time Saving
  • Contact Us

Scripting

servicenow user object gs.getUser()

Scripting

How To Get The Username Of Current User – User Object gs.getUser()

When you are scripting around the current user, you’ll find that the user object comes in handy. There are often times you’ll need to perform … Read more

Photo of author

Written by: Team Snowball

Published on: August 10, 2022

Best Practices, Scripting, ServiceNow Admin, Time Saving

How To Clear The Cache in ServiceNow

Clearing the instance cache is a crucial component of being a ServiceNow Admin/Developer. If you don’t understand how and when to clear the cache, you … Read more

Photo of author

Written by: Team Snowball

Published on: July 8, 2022

servicenow logging in custom applications

Best Practices, Scripting

Logging In Custom Apps – Don’t Use gs.log()

If you’re a ServiceNow Admin, you’re very familiar with the idea of using gs.log(). It’s an extremely common scripting practice to see what the output … Read more

Photo of author

Written by: Team Snowball

Published on: May 13, 2022

autoSysFields(false)

Scripting, ServiceNow Admin

Don’t Update System Fields With autoSysFields(false)

When To Use autoSysFields(false) As a ServiceNow Admin, you’ve most likely experienced this scenario before. You need to bulk update a few hundred records, by … Read more

Photo of author

Written by: Team Snowball

Published on: August 23, 2021

create a scheduled job sys_trigger

Scripting, ServiceNow Admin

How To Write An Async Business Rule in ServiceNow

Understanding Async Business Rules All ServiceNow Admins need to understand when to use an async business rule, and when not to. An async business rule … Read more

Photo of author

Written by: Team Snowball

Published on: August 23, 2021

before query business rule for access

Best Practices, Scripting

Restricting Access – ACL vs. Before Query Business Rule

How To Prohibit Access When most ServiceNow Admins think about granting or restricting access, the first thing that comes to mind is ACL (Access Control … Read more

Photo of author

Written by: Team Snowball

Published on: August 11, 2021

syslogs for source in gs.log

Best Practices, Scripting

Organize System Logs By Using A Source with gs.log()

Add A Source To gs.log(value, source) ServiceNow environments can create millions of system logs on a daily basis. And no one has time to manually … Read more

Photo of author

Written by: Team Snowball

Published on: August 9, 2021

info message on incident client script

Scripting

How To Show An Info or Error Message On A Form

Informational and Error Messages with g_form() Sometimes, you want to show everyone visiting a certain form some information. Say you’re experiencing an outage, or there’s … Read more

Photo of author

Written by: Team Snowball

Published on: August 9, 2021

returns many records

Best Practices, Scripting

Use get() to get One or Many Records With GlideRecord

Use get() with ServiceNow

Photo of author

Written by: Team Snowball

Published on: July 28, 2021

Best Practices, Career Advancement, Scripting

How To Use addEncodedQuery() with GlideRecord in ServiceNow

What is addEncodedQuery() This is something that will end up saving you a lot of time and can make your GlideRecord queries a lot cleaner … Read more

Photo of author

Written by: Team Snowball

Published on: July 28, 2021

Next

About

The Snowball – An Independent ServiceNow Blog & Newsletter. We have no affiliation with ServiceNow.

the snowball servicenow logo

Recent Posts

  • How To Get The Number Of Records/Rows In A GlideRecord Query
  • How To Get The Username Of Current User – User Object gs.getUser()
  • ServiceNow Table API – Integrate using cURL, Python, Ruby, JavaScript, Perl or Powershell
  • JavaScript & Glide API in ServiceNow
  • How To Clear The Cache in ServiceNow

Looking for something

The Snowball © - 2022 - An Independent ServiceNow Site
  • Newsletter
  • Learn ServiceNow
    • Best Practices
    • ServiceNow Admin
    • Career Advancement
    • Scripting
    • Advanced
    • Platform Management
    • REST API
    • Service Portal
    • Styling
    • Time Saving
  • Contact Us