…thoughts on ServiceNow and digital transformation

Posts

All

Title

Excerpt

Created

  • If you used the Checklists plugin in ServiceNow you know that it very annoyingly writes a work note every time an item is checked or unchecked. This video explains how to turn this off. In this article, I’ll explain how to write to a custom field instead of a work note, which not only avoids…

  • If you want to get the reference table for a ServiceNow list field, perhaps to reformat the data, the below functions usually work: However sometimes getElement doesn’t work as was the case recently for me in a client callable scoped script include. In this situation, I had to rig up my own function, which looked…

  • If getElement is not working for you, you can create your own function, see this post

  • You can easily change the From address in an ServiceNow Email Client Template but changing the Reply to is less obvious. The answer is buried deep down in this question in the community. In the Email Client Template record, add the Reply to field under the Sender Configuration tab (why this field is not on…

  • To filter a ServiceNow catalog variable based on the values of other variables on the form, use the following syntax

  • 1. Create a subflow that will be called from a UI Action 2. The subflow input will be an case record. 3. The first step is a Create Record action. Table = HR Task. HR Task Type = Collect Employee Input. Ensure the Wait checkbox is ticked. 4. The second step is a Look Up…

  • Client script for record producers displayed in the backend UI action to call the record producer Client script for record producers displayed in the portal

  • If you paste images into the body of an html email notification, the source of the image is the record in sys_attachment. If the user doesn’t have access to the attachment (i.e. to the underlying record), they won’t see the image in their email. One option is to put the image in the db_image table,…

  • Sometimes databases don’t store their dates in UTC. I recently ran across a system that stored all their dates in Eastern time, or at least, that’s what time zone they were in when they came out of the API (because the world revolves around Eastern!). In ServiceNow, dates are stored in UTC, so when writing…

  • I recently had a requirement where the employee would provide a bulleted list along with a couple of paragraphs of text in an HRSD case. My initial thought was to use an Employee Form (Collect Employee Input) for this, however I quickly discovered that Employee Forms don’t have an HTML field. I came up with…

  • The steps below are for generating a JWT from a ServiceNow instance. You need a computer on which you have admin rights in order to generate the JKS file. The steps below describe doing this on a Windows computer. The below steps on done on a local computer The below steps are done in ServiceNow

  • https://www.servicenow.com/community/now-platform-articles/subflow-and-actions-for-saving-file-to-on-premise-network-using/ta-p/2322773

  • To get a list of flows with their reporting setting (Off, Basic: Runtime states and durations only, Full: All configuratnio and runtime values (For debugging only)), go to the sys_flow_execution_setting table

  • 1. Create a Step Configuration. I created this in the Global scope Description Generation Script Step Execution Script 2. Add an Input Variable to the Step Configuration Reference table is sys_hub_flow 3. Create an ATF Test. Use the Launch Flow step created in step 1. Select the Flow you want to launch in the list…

  • If you ever wanted to send the same attachment out in a notification, you found out that there wasn’t an easy way to do it. You can send attachments from the notifications record (incident, case, or whatever table the notification is for), however you can’t send the same attachment every time. Attaching a document to…

  • So you have a notification that is set to send when triggered but you can’t figure out which flows are triggering it. Here’s a UI action for the Notification table that will help you figure out it.

  • Here’s a diagram of the tables related to dashboards in ServiceNow

  • Out of the box, the ServiceNow Outlook plugin maps the body of the email to the comments field rather than the description field, here is how to change that. 1. Modify the Create Incident Widget. Find this line around 118 and change comments to description It gave me a message that the widget is read-only…

  • The ServiceNow Microsoft Outlook Plugin for ITSM allows for creating incidents and VTB items from email. This is handy for when requestors send incidents directly to an agent instead of “putting in a ticket.” However, out of the box, this plugin only works with the incident table (and VTB). In addition, it annoyingly adds the…

  • Out of the box, template functionality for HRSD case tables is only available to users with the HR Admin role. When HR Fulfillers figure out that their colleagues in IT can create templates to quickly fill out forms, they [politely] ask for this for themselves. Here’s how to do it.