Blog2018-06-14T17:46:59+00:00

The Service Catalyst Blog

Unlock the Secret – Add a list of records to an update set

By |March 18th, 2019|Categories: ITSM Automation, ServiceNow|

One very useful feature in ServiceNow is the “Force to Update Set” UI Action (found here). The only downside to this is that it only adds one record at a time. There have been several times where I’ve had to add multiple records to an update set. To that end here is the full code to implement a UI action that allows adding a list of records to an update set:

Force List to Update Set UI Action
Name: Force List to Update Set
Table:Global
Action name:
Client: True
List context menu: True
OnClick: forceToUpdateSet();
Script:

Markdown Part 2 – Diving Deeper: My Markdown Workflow

By |March 14th, 2019|Categories: Developement Best Practices, ServiceNow, Uncategorized|

Welcome to part 2 of a 3-part series on Markdown. If you haven’t read the first post in this series, you can do so here.

In this post, we dive into the workflow of writing, viewing, and publishing Markdown. Let’s get started.

Writing Markdown

All you really need is a text editor, any text editor. My preference happens to be Visual Studio Code – one reason is because I use both Windows and macOS, and Code is available for […]

Defect Attractors in ServiceNow

By |March 4th, 2019|Categories: Developement Best Practices, ServiceNow|

Eric S. Raymond defines “Defect Attractors” as

“a feature which, while possibly not bad in itself, spawns defects in the design or code near it”

(full post here: http://esr.ibiblio.org/?p=8042. It’s worth reading the whole thing). The article discusses defect attractors in the context of low level APIs and language design, but development in ServiceNow has defect attractors too.

The first defect attractor isn’t specific to ServiceNow, but is part of the language we use to extend ServiceNow, JavaScript. JavaScript is a weakly typed language and that makes for huge defect attractors. […]

Exploring Markdown

By |February 18th, 2019|Categories: Developement Best Practices|

In this three-part post, we’ll be exploring what Markdown is and how it is used in my workflow for creating documentation. Part 1 focuses on how Markdown came to be, how it is used, and how it has evolved. In part 2, we’ll cover writing, viewing, and outputting Markdown. Finally, in part 3, I’ll introduce you to the Markdown syntax, so that you can begin writing documents in Markdown too. 

Why I’m writing this blog post

I spend my day in a […]

Try catching errors in ServiceNow

By |February 12th, 2019|Categories: ServiceNow|

I’m an old programmer. Yes, that is me telling you to get off my lawn. I’ve seen a lot of changes to programming language structures over my career, but I think the most useful one is the try/catch construct (try/finally gets an honorable mention, but try/catch is the star of the show today). One of the things I missed when I moved into ServiceNow, was the try/catch. Somewhere (or some when) I noticed that the try/catch was available as an option.

Even though try/catch was available I noticed that neither the community or […]

Tracking Your Automated Tests in ServiceNow with Service Catalyst’s Requirements Management Tool

By |January 25th, 2019|Categories: Automated Testing Framework, SDLC, ServiceNow|Tags: , , |

by Mike Wilson

 What’s great about ServiceNow is that it can do so much for an organization in so many areas.  But the more you rely on ServiceNow, the more onerous it becomes to make sure you don’t break anything every time you add a feature or upgrade … otherwise known as regression testing.  With a large implementation of ServiceNow, even keeping track of everything you’ve implemented on the platform, and how to test it, becomes a major job in itself.   

Service Catalyst built our custom Requirements Management Tool to solve this basic problem, and now, we’ve enhanced it to integrate automated […]

Categories

Archives