This is the last segment in a four part series of articles focused on using ServiceNow to create richer services in the service catalog. In the prior segments, we discussed what an action-based service is, built the core structure of the service and then used that core structure to create a dynamic rendering of the request form based on the selected action. The first 3 segments gave us a working (albeit limited) service. The missing part that really brings it all together is adding workflow functionality. In this segment, we will create a workflow that uses the value of the action variable to determine which course of action should be taken. It will then manage that service request ticket through completion, including notification to the user.
In the last article, we discussed the basic setup for an action-based service. This time, we will be focused on using the value of the action variable to determine which variables should be displayed or hidden on the form. The primary tool for driving this capability is the use of catalog ui policies. If you are unfamiliar with catalog ui policies, the ServiceNow wiki provides a good overview. The catalog ui policy is going to allow us to specify when a particular variable should be displayed or hidden based upon the Action selected.
For the second part of this series, we’re going to focus on creating a new service in the ServiceNow service catalog and reviewing the core foundation we will use to create an action-based service. Action-based services in ServiceNow are created in the same way you would create any service catalog item.
Rather than just discuss the steps theoretically, we will build a basic service. The service will be a generalized I Need Help service that will allow the user to choose from a variety of options (Actions) to narrow down the type of help they need. Depending on the option selected, the form will dynamically display fields to capture more specific data and will in turn route the ticket to an appropriate group for fulfillment.
The key things to focus on is that we will be creating a single service to handle multiple support requests. This will allow the user to go to a single service and have the service guide them, rather than hoping they have selected the correct support service from a list of many and will be able to collect the specific information necessary for the fulfiller to complete the task without having to engage in a back-and-forth conversation with the user (thus elongating the fulfillment time)
For years, I’ve been a big proponent of service oriented architectures. I got started with them back in the early 2000’s from a business application perspective and always thought they would/should apply to the creation of IT services as well. With recent advances in the service catalog space that have been made with tools like ServiceNow, we can now start applying some of these same principles to IT.
The ServiceNow service catalog can more accurately be thought of as a service request catalog, since it is primarily used in conjunction with the content management system (aka CMS) for displaying the items that can be requested by your customers. It does not actually provide a means to dynamically look-up and resolve back-end service endpoints (i.e. REST or Web Services), but does provide a great deal of functionality. This functionality is enhanced with its ability to create sophisticated routines to process and route requests and its integration into the ServiceNow workflow engine.
This article will be the first of several in which I’ll review a method of creating ServiceNow service catalog items that I call Action Based Services. There are many ways to create a “service” in ServiceNow, some better than others. The idea of action-based services is to avoid a classic pitfall where you end up with 100’s or 1000’s of “services” in your catalog, making it nearly impossible for customers to find what they are looking for and just as impossible to maintain.