ServiceNow
ServiceNow is a powerful and flexible platform, damn it's good
-
How to retire or deactivate location data in ServiceNow
What should you do with old location data in ServiceNow? Locations come and go through the life of an organisation. Moving offices, renting warehouses, and field service contracts change all the time. You still want the data, but you don't want anyone to use those old locations for anything new. Here's some recommendations on how to safely retire those old locations in ServiceNow. -
How to safely modify SLAs in ServiceNow
It's not safe to modify SLA definitions in ServiceNow when there are active SLAs running for it. It can cause unpredictable behaviour, maybe even ruin your measurements entirely. Here's a quick guide on how to modify SLAs safely, as well as exploring what happens if you do. -
How to get g_form on Service Portal pages
Using g_form in your browser console is a great way to debug forms in ServiceNow, but what if you want get at it from a Service Portal page? Here's how you can easily use g_form on a Service Portal page in yor browser developer tool console easy peasy lemon squeezy. -
What is a Principal CI class in ServiceNow anyway?
You are having fun in the CI Class Manager and you spot a checkbox that says "Principal CI". What does it do? Could it be the answer to overly crowded auto-complete results when trying to set the Configuration Item on tasks? -
Why your ServiceNow transform logging doesn't work
You feel like you're going mad. You've used log.info in your transform scripts, but there's no messages getting logged. Here's why it does that and how to change it. -
Non-Production Instance Theming Part 7 - Custom Window Title
Are you developing in production without realising? Did you accidentally delete that production data, or load test data into your live instance? It's easy to forget which ServiceNow instance you are in. Giving each instance a custom window title can help guide users through a sea of browser tabs. -
Non-Production Instance Theming Part 6 - Using Announcements
Are you developing in production without realising? Did you accidentally delete that production data, or load test data into your live instance? It's easy to forget which ServiceNow instance you are in. Adding an announcement to each instance can be a constant reminder of which instance you are in. -
Non-Production Instance Theming Part 4 - Banner Colour UI16
Are you developing in production without realising? Did you accidentally delete that production data, or load test data into your live instance? It's easy to forget which ServiceNow instance you are in. Giving all of your ServiceNow instances an eye-catching coloured banner will be a constant reminder of which instance you are in. -
Non-Production Instance Theming Part 3 - Logo
Are you developing in production without realising? Did you accidentally delete that production data, or load test data into your live instance? It's easy to forget which ServiceNow instance you are in. Giving all of your ServiceNow instances their own logo will help remind you where you are and if it's safe to make changes. -
Non-Production Instance Theming Part 2 - Custom Product Name
Are you developing in production without realising? Did you accidentally delete that production data, or load test data into your live instance? It's easy to forget which ServiceNow instance you are in. Giving all of your ServiceNow instances their own custom product name and banner text can be a constant reminder of which instance you are in. -
Non-Production Instance Theming Part 1 - Page Icon
Are you developing in production without realising? Did you accidentally delete that production data, or load test data into your live instance? It's easy to forget which ServiceNow instance you are in. Giving all of your ServiceNow instances their own favicon so you can see which instance you're in at a quick glance. -
Smarter ServiceNow CMDB Imports with CMDBTransformUtil
Don't re-invent the wheel with every CMDB transform map. ServiceNow already saves you time and effort by giving you this utility to harness the magic of the CMDB in your transform maps so you don't have to develop it yourself. -
ServiceNow Quick Reference - How Emails are Sent to Groups
A quick reference on how ServiceNow sends emails to groups, group members, managers, and group email addresses, and how different settings change how it works. -
How to recover a MID server after a failed upgrade
What happens a ServiceNow MID server tries to auto update itself but gets interrupted mid-upgrade and fails? You get a broken MID server that's missing half of its files, that's what. Here's how to recover a MID sever when the auto upgrade fails and it deletes its own files. -
ServiceNow Variable Tables Quick Reference
Variables in ServiceNow exist, but you normally can't see them. So where do they live? Here's a quick reference on where variables are stored in ServiceNOw and where to find them. -
How the user's status affects ServiceNow emails
A quick reference on how the user's status in ServiceNow affects emails being sent and received. -
How to give ServiceNow emails a custom "From" address
Add some professional branding to emails sent out from your ServiceNow instance by giving it an email sender address that matches your company. Here's a quick guide on how! -
How to use your own mailbox with ServiceNow
By default, ServiceNow gives each instance its own service-now.com mailbox for sending and receiving emails, but sometimes this doesn't fit requirements. Here's how to give a different mailbox for ServiceNow to work with emails. -
ServiceNow Import Tips #3 - Alerts on failing imports
Have you ever had a scheduled import that had been causing issues for weeks without anyone knowing? Save yourself the headache and do this simple step to alert people when import transforms fail. -
ServiceNow Import Tips #2 - Scripts to start imports
Make imports and transforms part of your ServiceNow automations. Did you know that you can kick-off data sources and transforms using scripts? So many possibilties! -
ServiceNow Import Tips #1 - Simple Import row-by-row
Typically there's a song and dance to import data into ServiceNow, but did you know that you can run imports faster and easier if the transform is already there? -
Using custom ServiceNow event queues to solve race conditions
Lots of things all running at the same moment can cause timing issues when they all want to touch the same data. Here's a way you can avoid these issues easily and gracefully in ServiceNow using custom event queues and GlideEventManager. -
Guide to a ServiceNow login page for multiple SSO providers
ServiceNow integrates pretty well with single sign-on providers like Azure, Okta, and ADFS, but things get difficult when you need to support multiple SSO's. Here's how to do a login page that allows users to choose which SSO provider they want to login through. -
ServiceNow Clone Tip - LDAP servers and lost MID servers
Don't you hate it when you do a ServiceNow clone, and then your user data stops getting auto-updated from Active Directory? It sure frustrates me! Here's how to prevent that from happening. -
ServiceNow Clone Tip - Preserve MID Server Users
It's just a ServiceNow clone, what could go wrong? Losing all of your MID servers in the target instance, that's what! Here's how to prevent that from happening. -
How to use a custom ServiceNow login page, and why you should
The default ServiceNow login page is basic and gets the job done, but making it better is easier than you think! -
How to un-impersonate in ServiceNow when locked in the service portal
Don't you hate it when you impersonate a user in ServiceNow, but you can't un-impersonate because a redirect keeps you stuck in the service portal? Here's a quick way to escape the redirect prison. -
How to submit a ServiceNow catalog request using code
Don't manually create ServiceNow catalog request by hand, here's a quick guide on how to use the tools that ServiceNow provides. -
ServiceNow Scoped Apps, GlideEncrypter, and handling passwords
In ServiceNow, you'd normally use GlideEncrypter to work with passwords and encrypted text, but it's blocked and forbidden in scoped applications. At first you'll think "wow that's rude", but there's a reason behind it. Here's how you can deal with passwords and encrypted text in ServiceNow scoped applications. -
The Right Way to Forward Emails From a Mailbox to ServiceNow
Save time and effort by getting ServiceNow to automatically process emails from a shared mailbox, instead of asking support staff to manually create ServiceNow jobs from emails. -
GlideModal usage and examples
Easily create beautiful modal-style pop-up windows in ServiceNow using GlideModal. Here's how to use it in seconds, and examples so you can see what they look like. -
Please never create an integration user called "integration.user"
This is a really bad idea. Plese don't ever create an integration user called "integration.user". -
ServiceNow Code - Make All Fields Not Mandatory
A quick and easy ServiceNow code snippet to use during testing and developement to circumvent mandatory fields. -
ServiceNow 'schema' and 'meta' APIs, and why system integrations should use them
Don't use the 'admin' role because an integration wants to know about ServiceNow tables and fields, use the 'schema' and 'meta' APIs instead. -
ServiceNow tables that aren't audited, but should be
Auditing and record history in ServiceNow is incredibly useful in tracking who touched what. However, some important tables don't have auditing enabled by default, which will almost always be a problem. -
Dave's ServiceNow Bulk Export Tool
Save yourself some time, and don't spend hours exporting large exports of data out of ServiceNow like I did. To help me out, I wrote a cool little tool to export bulk amounts of data out of ServiceNow all at once, instead of combining smaller exports from the same table one-at-a-time. -
ServiceNow Script: GlideRecord to JSON
Get a plain JSON object from a ServiceNow record without hard-coding. Perfect for integrations! -
Better SN Approvals #4 - Approver Fields on Tasks
Get ServiceNow to do some of the heavy-lifting for approval reports, by summarising approvers on the task. -
Quick ServiceNow Code: Clear the outbound email queue
Avoid the headache of accidentally sending out a mountain of old emails by clearing the email queue before enabling "Email sending" on a development instance. -
Quick ServiceNow Code: Search for Duplicates
A quick useful code snippet for counting unique values and finding duplicates in ServiceNow. -
Help your low-code ServiceNow colleagues by using GlideScopedEvaluator
By creating your own script fields using GlideScopeEvaluator, you can support your low-code ServiceNow administrators to work alongside your script-heavy creations, instead of rewriting them. -
Search ServiceNow when you only have a sys_id
Only have a ServiceNow sys_id, but you don't know where it's from or what it does? No problem! -
Use existing choices for a variable, don't duplicate them
This cool trick will allow your select box and multiple choice variables to use an existing set of choices instead of manually copying them. -
Better SN Approvals #3 - Approval Reminders
ServiceNow approvals are incredibly useful, but overwhelmed approvers can sometimes miss approvals. This easy tweak can help keep all approvals on the radar. -
Better SN Approvals #2 - Full Form, Not Summary
ServiceNow approvals are incredibly useful, but they do have some rough edges out-of-the-box, such as the approval page not showing all of the details. -
Better SN Approvals #1 - The Activity Stream
ServiceNow approvals are incredibly useful, but they do have some rough edges out-of-the-box, such as the activity stream on approval pages missing information. -
How you should allow elevated users enter and exit the service portal
Out-of-the-box ServiceNow isn't great for allowing elevated users to jump in and out the service portal, but it's easily fixed with some small changes. -
Encrypting and decrypting data in ServiceNow
Passwords and credentials can be encrypted in ServiceNow. Here's how you can decrypt the information to use in your own customisations and integrations. -
How to use a Field List type field to get data from ServiceNow
ServiceNow Field List type fields let users select and dot-walk through fields, like "assigned_to.manager.email", which is awesome, but how can you use them to get data out of ServiceNow?