Recipient Specific Filter on Scheduled Reports

As many of you are aware, the scheduled report functionality allows you to automatically send PDFs or excels of existing reports on a scheduled basis to certain recipients. As useful as this functionality is, it does come with some caveats – the reports need to be run as a certain individual and this means that […]
Using Category and Subcategory on ServiceNow Record Producers

Use Case: We recently had a client that wanted us to create an incident ServiceNow record producer with some of the same functionality as the portal record producer. Specifically, adding a Category and Subcategory field and having the Subcategory choices limited to only display choices associated with the selected Category. To properly have the Subcategories […]
Background script for creating choice values quickly

Creating Choice Values via Script Have you ever found yourself performing the tedious activity of manually creating values for a sys_choice field? When only a handful of values need to be created, the process is not much of a burden, but having to create 20, 30, or more values can be a time consuming bear […]
Easy List Modal on UI Actions

Consider this scenario: you are looking to use a related list to handle data management for a form or have a need to implement a custom UI action, but aren’t impressed by the default slushbucket presented to you when clicking the “Edit” button. There are many drawbacks to the slushbucket view, but perhaps the biggest […]
Quick dialog boxes with showQuickForm and GlideModalForm

To save time building tedious, custom UI pages, ServiceNow provides two quick methods to display forms and enter data. These are showQuickForm() and GlideDialogForm(). showQuickForm is an on-click function meant to be used in UI actions in order to display a specific form view. This is useful when you need to display specific form fields […]
Watch the unwatchable (fields) …

“Watching” a field on a form can be very helpful with troubleshooting because it can show you which UI policies, ACLs, or even client scripts are manipulating the field. This is done by right-clicking a field’s label and selecting “Watch – ‘[field name]’.” Unfortunately though, sometimes ServiceNow will decide it doesn’t want you to watch […]
Attaching an Excel attachment via email in ServiceNow

We use transform maps for a lot but there are often times when we need to trigger a transform to occur on command, quite frequently through email. Assume you had a scenario where a client was interested in sending in a data source via email into the instance with the expectation that the data […]
GlideAJAX Equivalent for Service Portal – Getting Server Data from Client

Note: This article requires basic familiarity with coding Service Portal widgets. In the Service Portal, the scripting environment is different from the ServiceNow backend. Portal widgets utilize AngularJS, which introduces a model-view-controller approach to passing data and handling what is presented to the end user. Sometimes it is necessary, like on the backend, to access […]
Validating Excel spreadsheet data in ServiceNow

One of the most common uses of ServiceNow is importing and storing data. While import sets and transform maps have their own methods of validating the data before the data is imported into the system, it is also possible to validate the contents of an Excel file before allowing a user to attach it […]
Unloading a performance analytics report dashboard

As many may be aware, there are extra steps that need to be carried out in order to promote anything relating to content management and in some cases performance analytics. Performance analytics dashboards are common sources of pain during promotions usually due to missed dashboards or Portal pages. Consider this – you have created a […]
