Dev Toolbox

A grouping of useful utilities in Servicenow

About Scoped Dev Toolbox

Dev Toolbox is a scoped app to capture tests for all the Out of Box servicenow applications. This is a scoped application for Service-now to allow some utilities to be easily added and maintained on instances.


  • Rewrite Journal content
  • Variable Helper
  • Add Data to Table
  • Create Module from this Query
  • GlideRecord Script - Background Script
  • GlideRecord Script - Preview
  • "Email Scripts" Related List
  • "Set Name from Question" Tool
  • "Set Value from Label" Tool
  • "Set Value from Text" Tool
  • "Show Contents of g_scratchpad" Tool
  • "Show Schema Map" Tools

Rewrite Journal Content

This adds a UI Action for admins to replace text on `task` for users with the `admin` role. This is what the feature looks like in action;

Variable Helper

This script include makes it easier to get the variables on catalog items, their tasks, and other records;

//example mail script
(function runMailScript(current, template, email, email_action, event) {
  template.print("Additional details:<br />");
  function printVars(){
    var vh = new x_8821_glide_utils.variableHelper();
    var vars = vh.getVariables(current);
    for (var i = 0; i < vars.length; i++) {;
      template.print(" " + "<b>" + vars[i].label + ": " + "</b>");
      template.print(vars[i].value + "\n" + "<br/>");
})(current, template, email, email_action, event);

Install Scoped "Dev toolbox"

You can install it using this url:

Contact Us

Feel free to leave us a comment (via issues) on github to give some feedback about this theme!