Scripting

/Scripting

Fixing the Fatal Flaw of Before Query Business Rules

By | January 5th, 2011|Categories: Business rules|Tags: , , , |

While this customization may still be necessary in certain situations, ServiceNow handles this issue in Aspen builds or later without any customization. I’ve written before on SNCGuru about how ‘before query’ business rules can (and should) be used to secure row-level read access to records in Service-now. While this usually works perfectly, there is one issue [...]

Execute Scheduled Jobs From Script

By | November 29th, 2010|Categories: Imports, Scripting|Tags: |

Scheduled jobs are an extremely useful way to automate processes in Service-now.com and lift some of the administrative burden of the tool off of the shoulders of your Service-now administrators. It’s very easy to create a scheduled job or a scheduled import. Typically there’s no scripting or advanced configuration involved at all. Just set it up [...]

Change the Size of a List Collector Slushbucket Variable

By | November 24th, 2010|Categories: Client scripts|Tags: , , , |

List collector variables are a great way to collect multiple pieces of information about referenced records in a single variable in the Service Catalog. One complaint I get about these variables is that they take up a lot of space on the screen. While there’s not a lot you can do with regular slushbuckets in the [...]

The Fantastic g_form getReference Callback

By | November 16th, 2010|Categories: Client scripts|Tags: , , , |

If you didn’t pay close attention to the recent Fall 2010 Stable 1 ServiceNow release you probably missed a really cool new piece of functionality. I just used it for the first time today and I really feel like it’s something that everybody needs to have in their ServiceNow Client Scripting tool belt. The functionality I’m [...]