<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ServiceNow Scholar on Medium]]></title>
        <description><![CDATA[Stories by ServiceNow Scholar on Medium]]></description>
        <link>https://medium.com/@servicenowscholar?source=rss-25cde28e45ee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pc8sPkBdhnzmaofg.jpg</url>
            <title>Stories by ServiceNow Scholar on Medium</title>
            <link>https://medium.com/@servicenowscholar?source=rss-25cde28e45ee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 17:48:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@servicenowscholar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Automatically Add Tags Based on Conditions]]></title>
            <link>https://medium.com/@servicenowscholar/how-to-automatically-add-tags-based-on-conditions-134e8064550f?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/134e8064550f</guid>
            <category><![CDATA[conditionbuilder]]></category>
            <category><![CDATA[condition]]></category>
            <category><![CDATA[tag]]></category>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Sun, 02 Aug 2020 05:40:07 GMT</pubDate>
            <atom:updated>2020-08-02T05:40:07.137Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="How to Automatically Add Tags Based on Conditions" src="https://cdn-images-1.medium.com/max/1024/0*b6kAar3hWJiCk02u.png" /></figure><p>How to Automatically Add Tags Based on Conditions <br> ServiceNow’s auto-tagging feature allows for an expanded suite of features for greater organizational and search capabilities for your organization <br> Auto-tagging in ServiceNow is a great way to expand search capabilities for users who are looking to more easily find what they are looking for.This could be something like users looking for Problem records with certain attachment types, tagging knowledge articles to help your user community find KB articles quicker, or tagging CI classes or even drilling down further and tagging certain CIs within a class under a specific set of conditions.If you’d like to brush up on your tag basics, head over to this article which goes over the fundamentals of tagging. <br> Procedure:Here is an explanation of how to use the auto-tagging feature with a simple example auto-tagging all records within a CI class.First we’ll navigate to System Definition &gt; Tags and create a new record. In this example:Name: LaptopOwner: Type: StandardViewable by: EveryoneActive: trueSave your tag record.To proceed to the next step, we will have to add the Conditions for Labels embedded list to the form:Next, create a new record in the Conditions for Labels embedded list by double clicking Insert a new row and then clicking on the magnifying glass &gt; New. Fill out the Label Table form and then submit.Title:</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=134e8064550f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Database Structure: Tables, Records, and Fields]]></title>
            <link>https://medium.com/@servicenowscholar/the-database-structure-tables-records-and-fields-62d19702f0f8?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/62d19702f0f8</guid>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Tue, 21 Jul 2020 19:17:51 GMT</pubDate>
            <atom:updated>2020-07-21T19:17:51.764Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="The Database Structure: Tables, Records, and Fields" src="https://cdn-images-1.medium.com/max/1024/0*VG90AmQ5fnKRVKJR.png" /></figure><p>The Database Structure: Tables, Records, and Fields<br>A table is a group of records used to store application data. A record is comprised of fields that contain individual data and functions<br>When creating a table, you can create a new table or extend the table off of an existing table to inherit the existing table’s fields and functionalities, which creates a parent/child table relationship. One example of this is how the Incident, Problem, Change, and Request table extends off of the Task table to inherit its properties. <br><br>To create a new table:<br><br>1. Navigate to System Definition &gt; Tables. <br><br>2. Click New.<br><br>3. Give your table a Label. We’ll label this table “Test Table”. This will automatically fill in the Name field.<br><br>4. To extend off of a table, type in the desired table in the Extends table field. This will transfer the extended table’s properties to the new table.<br><br>5. Now when we search “Test Table” in the filter navigator, we see the table that we created.<br><br>6. To create a Record, click new.<br><br>7. The record gets pre-populated with the fields that were inherited by the Task table. Number, Assigned to, Configuration item, Active, Priority, State, Parent, Short description, Description, and Work notes are all fields that have been inherited by the Task table.<br><br>8.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62d19702f0f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Templates]]></title>
            <link>https://medium.com/@servicenowscholar/creating-templates-a20aaa514f7f?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/a20aaa514f7f</guid>
            <category><![CDATA[template]]></category>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Fri, 23 Aug 2019 19:18:20 GMT</pubDate>
            <atom:updated>2019-08-23T19:18:20.082Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/0*cHhoQzkJR2bLammc.png" /></figure><figure><img alt="Creating Templates" src="https://cdn-images-1.medium.com/max/1006/0*vGjlTkFEAqey5Znr.png" /></figure><h3>Creating Templates</h3><h4>Templates are used to easily pull up a pre-populated set of fields that are used repeatedly when creating records</h4><p>Selecting a template allows you to populate data on a form automatically.<br> <br> <strong>To Create a Template:</strong><br> <br> 1. Navigate to <strong>System Definition &gt; Templates</strong>.<br> <br> 2. Click on New.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yKYrSF9Ih7AXsVUW.png" /></figure><p>3. Give the template a name and choose a table.<br> <br> 4. Once you choose a table, you will be able to build out your template with the desired fields. For this example, we’ll create a template called “Test Template” where we set the caller to Damion Matkin, the record will be assigned to Andrew Jackson, and the category is Inquiry/Help.<br> <br> Now, every time we use our “Test Template”, the fields will auto-populate to the values set in the template.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/0*gzCIuQpxjhuzxtD9.png" /></figure><p><strong>How To Apply a Template To a Form:</strong><br> <br> 1. Navigate to a form that you would like to apply a template to.<br> <br> 2. Click on the “More Options” button and then click on the “Toggle Template Bar” button.<br> <br> 3. You’ll notice the template bar will appear at the bottom of the screen. Choose the template that you would like applied to the form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/0*oiBOui-u0k8B6ywk.png" /></figure><p>4. We’ll use the “Test Template” we created in our previous example and apply it to this incident record. Click on Test Template.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/0*FNJu2Kje4ypufM9A.png" /></figure><p>5. Now, the Caller field has been set to Damion Matkin, Assigned to has been set to Andrew Jackson, and Category has been set to Inquiry/Help.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/0*JeAOMlvETlAMoPfS.png" /></figure><p>Let us know if there’s anything we missed or you would like us to expand upon in the comments! Don’t forget to <a href="https://servicenowscholar.us20.list-manage.com/subscribe/post?u=97cde07f90b84a47785c843a2&amp;id=a4791a4cea">subscribe</a>!<br> <br> At the time of this writing, we are on the Madrid release. The information presented in this article may not apply to your instance if you are on a different version of ServiceNow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a20aaa514f7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configuration Item Tag and Keyword Search]]></title>
            <link>https://medium.com/@servicenowscholar/configuration-item-tag-and-keyword-search-ac67c4aec67e?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac67c4aec67e</guid>
            <category><![CDATA[globalsearch]]></category>
            <category><![CDATA[ci]]></category>
            <category><![CDATA[configuration-items]]></category>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Fri, 16 Aug 2019 17:02:54 GMT</pubDate>
            <atom:updated>2019-08-16T17:02:54.480Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eYygHYoOUr9oN-Y3.png" /></figure><figure><img alt="Configuration Item Tag and Keyword Search" src="https://cdn-images-1.medium.com/max/1024/0*XPJd8lZtSbELaBLz.png" /></figure><h3>Configuration Item Tag and Keyword Search</h3><h4>Define and enable CI search for related keywords within global text search</h4><p>Usually, CMDBs are so large and over-stuffed with so many configuration items that users face the challenge of effectively searching for CIs. If a CI exists but is not found, a user may decide to create a new CI which can lead to unnecessary duplication over time. One way to help mitigate the risk of CI duplication is to implement a more robust search functionality.<br> <br> This article will explain in depth how to configure global search to leverage tags so that your users can easily find what they are looking for. The following examples illustrate how to set up auto-tagging of records and how to leverage tags with global search for records on the cmdb_ci_computer table.<br> <br> If you’d like to brush up on your tag basics, head over to <a href="https://servicenowscholar.com/2019/07/16/tags">this</a> article which goes over the fundamentals of tagging.</p><h4>Configure Search Groups</h4><p>First, we’ll add the table(s) we want our global search to query by defining search groups.<br> <br> Navigate to System Definition &gt; Search Groups and click New. Give your search group a descriptive name.<br> <br> In this example:<br> Name​: CMDB Computers<br> Description: CMDB Computers<br> Active: true<br> Searched: true</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DDdyjpz1muzXjqNQ.png" /></figure><p>After saving the record, you should see the Text Search Tables related list at the bottom of the screen. Click the New button to create a new Text Search Table record and fill out and submit the form.<br> <br> Search Group: CMDB Computers<br> Table: Computer <br> Active: true<br> Searched: true</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0_6u0ZG33tRjv_Pg.png" /></figure><p>You should have been taken back to the Search Group record, which should now look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0ZRR9QpBfHWCGU1X.png" /></figure><p>The Search Group we just created should now show up on the global search results. If we were to stop here, our search would be limited to exact matches only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tZizZ2WxuBUqI9bg.png" /></figure><p>**Note: If you’re happy with this functionality and would like to stop here, make sure to re-index your table. To do this, navigate to System Definition &gt; Dictionary and search for the Collection record for your table and click the Generate Text Index related link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OMRSjklIkV9RqiZ9.png" /></figure><h4>Set up Tag Indexing</h4><p>Now we are going to text index tags on our table so global search can query our tags.<br> <br> Staying on the same dictionary collection record, find the Attributes related list and click the New button. Fill in the following and then submit:<br> <br> Attribute: Text Index Tags<br> Value: all_shared</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oeGgYtqtKwmmGL28.png" /></figure><p>We’ve just told the system to index all shared tags. Keep in mind private tags will not be indexed.</p><h4>Create a Tag Record</h4><p>Now it’s time to create our tags. Navigate to System Definition &gt; Tags and create a new record.<br> <br> In this example:<br> <br> Name: Laptop<br> Owner: <br> Type: Standard<br> Viewable by: Everyone<br> Active: true<br> <br> Save your tag record.<br> <br> To proceed to the next step, we will have to add the Conditions for Labels embedded list to the form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BNaU6mtY5v-YNG9y.png" /></figure><p>Create a new record in the Conditions for Labels embedded list by double clicking Insert a new row and then clicking on the magnifying glass &gt; New. Fill out the Label Table form and then submit.<br> <br> In this example:<br> <br> Title: cmdb_ci_computer synonyms<br> Table: Computer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_ub_0fIEaEqCjt8i.png" /></figure><p>What we’ve done here is we’ve told the system to apply this tag automatically to the records in the cmdb_ci_computer table. Since I did not specify any conditions, it will apply the tag to all records in the cmdb_ci_computer table. You can verify your tags were successfully applied from the Label Entries related list.<br> <br> Let’s go ahead and re-index the table to ensure our tags are captured in the global search results.<br> <br> **Note: To get to the dictionary entry, navigate to System Definition &gt; Dictionary and search for the Collection record for your table and click the Generate Text Index related link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XM3u61Le8k8ua7W8.png" /></figure><p>Finally, try searching for your tag keyword in the global search bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XTIVyKjQplZocjW_.png" /></figure><p>You should now see the query results returning records where the search term matched your tag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VBuU6NsQz5FfIzNI.png" /></figure><h4>Keyword Grouping in Tags</h4><p>A handy feature that comes with implementing tags this way is that you can add multiple keywords to each tag. You can create a tag and stuff as many keywords in the Name field as you want. You may have to increase the max length if you want to add more than 40 characters. (Just be aware of any performance hits your instance may take because of extra long tags).<br> <br> For example, I created a tag with the name “smart intelligent device tablet laptop windows 10 2000 xp vista”. Now, each one of those terms is searchable through the global search as long as that tag is associated to a record.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TZnTPoeYLNAJELMk.png" /></figure><h4>Tag Search Behavior</h4><p>OK, onto the exciting stuff! The global text search leverages the Zing search engine to make sense of search terms and return query results. Let’s take a look at how the Zing search engine handles a few different scenarios when it comes to tags.<br> <br> The first batch of tests I performed was on a tag I created that had two keywords in it: smart device.<br> I performed a few different scenarios which you’ll see below by searching for different combinations in the global search. The results are only those records which were returned in the CMDB Computer search group which we defined earlier in this article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aPGj9BiFAF6gop8B.png" /></figure><p>Scenario 1:<br> Global search term: smart device<br> Result: 850 returned records<br> Explanation: Searching for the full tag, even with a space between the two words, matches all 811 records with “smart device” tags.<br> <br> Scenario 2:<br> <strong>Global search term</strong>: smartdevice<br> <strong>Result</strong>: 0 returned records<br> <strong>Explanation</strong>: Zing was not able to match the search term with the “smart device” tag. This tells me Zing delimits search terms, at least by spaces.<br> <br> Scenario 3:<br> Global search term: smart,device<br> Result: 850 returned records<br> Explanation: Zing must also delimit by commas.</p><p><strong>Scenario 4</strong>:<br> <strong>Global search term</strong>: device smart<br> <strong>Result</strong>: 850 returned records<br> <strong>Explanation</strong>: Further evidence that terms are parsed and delimited as searches can contain terms in any order and will return records with matching tags as long as all terms are found within that tag.</p><p>Scenario 5:<br> Global search term: smart<br> Result: 850 returned records<br> Explanation: It makes sense that searching for a single term would still return all records if Zing delimits the separate terms in the tag.<br> <br> Scenario 6:<br> Global search term: device<br> Result: 850 returned records<br> Explanation: Same as scenario 4.<br> <br> Scenario 7:<br> Global search term: smar<br> Result: 0 returned records<br> Explanation: Zing does not handle misspellings.<br> <br> Scenario 8:<br> Global search term: windows device<br> Result: 364 returned records<br> Explanation: Records with the <strong>smart device</strong> tag were not successfully returned. However, there were still results because windows and/or device were terms found in the actual record data. This, along with scenario 4, leads me to believe that for tags, the system must match all search terms to terms found within tags. If it <em>does not </em>find even one search term in the tags for a given record, it will not return it in the results set. I performed an additional test for this which I will include here where I created another tag called windows and re-indexed the table. After doing this, the search term <strong>windows device </strong>returned all 850 records. So my conclusion based on this is that the search terms are delimited and the system attempts to match each term to a term found in all tags on a given record.<br> <br> For actual record data (ie. field values on the form), I noticed a trend where only one of the search terms needed to match with the record data. For example, the system could match the search term <strong>windows </strong>within the record data, but not <strong>device</strong>,<strong> </strong>and still return that record in its result set.<br> <br> Let us know if there’s anything we missed or you would like us to expand upon in the comments! Don’t forget to <a href="https://servicenowscholar.us20.list-manage.com/subscribe/post?u=97cde07f90b84a47785c843a2&amp;id=a4791a4cea">subscribe</a>!<br> <br> At the time of this writing, we are on the Madrid release. The information presented in this article may not apply to your instance if you are on a different version of ServiceNow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac67c4aec67e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tags]]></title>
            <link>https://medium.com/@servicenowscholar/tags-2c2d489f0de5?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c2d489f0de5</guid>
            <category><![CDATA[tag]]></category>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Tue, 13 Aug 2019 16:48:36 GMT</pubDate>
            <atom:updated>2019-08-13T16:48:36.608Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4IwLDJndEF3ip3nk.png" /></figure><figure><img alt="Tags" src="https://cdn-images-1.medium.com/max/1024/0*FRmQBwuRbwIDnvhm.png" /></figure><h3>Tags</h3><h4>Tags are used to group and categorize individual records</h4><p>There are 3 methods to create a tag. <br> <br> The first way to create a tag is by adding a tag through the list of tags table.<br> <br> 1. Navigate to <strong>Self-Service &gt; My Tags </strong>or <strong>System Definition &gt; Tags</strong>.<br> <br> 2. Click on the “New” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iu62rrmT-NvWyut4.png" /></figure><p>3. Give the tag a name and assign it to an owner. Click Submit when done.<br> <br> The <strong>second </strong>way to create a tag is by adding a tag through any list.<br> <br> 1. Navigate to a list of records that you would like to add a tag to.<br> <br> **Note: If you do not see a “Tags” column, right click on the column header, click on the left cog to personalize your list columns.<br> <br> 2. Add a tag by typing it into the “Tags” field of the record you want to add a tag to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/0*cONYol1rNQz3Fj8U.png" /></figure><p>The <strong>third </strong>way to create a tag is by adding it through any form.<br> <br> 1. Open a form that you would like to add a tag to.<br> <br> 2. Click on the “More options” icon.<br> <br> 3. Click on “Add Tag” and type in the tag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/0*zAs74rYsfRZIxDxO.png" /></figure><p>How To Edit Tags:<br> <br> 1. To edit a tag, navigate to a list of records that have tags assigned to them.<br> <br> 2. Click on the icon to the left of the tag.<br> <br> 3. Here you can edit the name of the tag as well as change who can view the tag. Click Save.<br> <br> **Note: If you edit a tag, all identical tags will be changed along with it. Additionally, duplicate tags with the same name are prevented by the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/0*6tY2trrPAYdaFkQ-.png" /></figure><p>4. To delete a tag, click on the “X” to the right of the tag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/0*T8iPWTq5bJ3vZo0G.png" /></figure><p>Merging tags allows you to easily reassign or combine tags.<br> <br> How To Merge Tags:<br> <br> 1. Navigate to Self-Service &gt; My Tags or System Definition &gt; Tags.<br> <br> 2. Select the check box of all tags you would like to merge.<br> <br> 3. Click <strong>Actions on selected rows… &gt; Merge Tags</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/0*iqqSAgMLvZf6WwYs.png" /></figure><p>4. Give the merged tags a name. For this example, we’ll merge the “High Priority” tag with the “Important” tag. Now all “High Priority” tags will be changed to “Important”. click Ok.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/0*Ouhu6gNDMh4stJN4.png" /></figure><p>5. Now you’ll notice that the “High Priority” tags that we used in our previous example have been converted to “Important” tags.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6_LoA2MQGQ_fyRNs.png" /></figure><p>Let us know if there’s anything we missed or you would like us to expand upon in the comments! Don’t forget to <a href="https://servicenowscholar.us20.list-manage.com/subscribe/post?u=97cde07f90b84a47785c843a2&amp;id=a4791a4cea">subscribe</a>!<br> <br> At the time of this writing, we are on the Madrid release. The information presented in this article may not apply to your instance if you are on a different version of ServiceNow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c2d489f0de5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sum Values From Related Tables Calculator]]></title>
            <link>https://medium.com/@servicenowscholar/sum-values-from-related-tables-calculator-29eee059d288?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/29eee059d288</guid>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Fri, 09 Aug 2019 17:06:32 GMT</pubDate>
            <atom:updated>2019-08-09T17:06:32.245Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/299/0*AAyXBEGgVjSGXRZO.png" /></figure><figure><img alt="Sum Values From Related Tables Calculator" src="https://cdn-images-1.medium.com/max/299/0*GhTXRGPX0jSiCHB-.png" /></figure><h3>Sum Values From Related Tables Calculator</h3><h4>Have the system automatically calculate values in a related or embedded list</h4><p>It’s very simple to have an embedded or related list perform certain calculations. Out-of-the-box, there are four different calculations you can have the system perform — Total Value, Minimum Value, Maximum Value, and Average Value, and they do exactly what they sound like.<br> <br> Total Value (Sum): Adds and totals the value of all records for a given field. Not available for strings, date and date/time field types.<br> Minimum Value (Min): Displays the lowest value for a given field.<br> Maximum Value (Max): Displays the highest value for a given field.<br> Average Value (Avg): Calculates the average value for a given field. Not available for strings, date and date/time field types.<br> <br> To add list calculations, right click on the column you want the calculation to be performed on:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zQZuUjua4l4lfcM5.png" /></figure><p>Select which calculations you want to be performed and click OK:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/0*mGTpmYL98GcT1YBe.png" /></figure><p>You should now see the calculations you selected on your list:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uCl9WHIOqDRyrSJt.png" /></figure><p>Let us know if there’s anything we missed or you would like us to expand upon in the comments! Don’t forget to <a href="https://servicenowscholar.us20.list-manage.com/subscribe/post?u=97cde07f90b84a47785c843a2&amp;id=a4791a4cea">subscribe</a>!<br> <br> At the time of this writing, we are on the London release. The information presented in this article may not apply to your instance if you are on a different version of ServiceNow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29eee059d288" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Toggle Show/Hide Empty Variables]]></title>
            <link>https://medium.com/@servicenowscholar/toggle-show-hide-empty-variables-89f63431f6c2?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/89f63431f6c2</guid>
            <category><![CDATA[variables]]></category>
            <category><![CDATA[variableeditor]]></category>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Thu, 08 Aug 2019 19:53:20 GMT</pubDate>
            <atom:updated>2019-08-08T19:53:20.002Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UqylM8CZf2ucBRn4.png" /></figure><figure><img alt="Toggle Show/Hide Empty Variables" src="https://cdn-images-1.medium.com/max/1024/0*V8Hd6MLVlbZAX5IV.png" /></figure><h3>Toggle Show/Hide Empty Variables</h3><h4>Add a checkbox to your form to show or hide empty variables in the variable editor</h4><p>If you’re running into issues with the variable editor taking up too much real estate on your form but need all variables in your variable editor to be visible to your users (even if empty), there are a couple of ways to accomplish this. Read <a href="https://servicenowscholar.com/2019/07/01/hiding-empty-variables-in-the-variable-editor/">this</a> article if you’re simply looking to hide all empty variables unconditionally.<br> <a href="#put_the_variable_editor_in_its_own_form_section"><br> Put the variable editor in its own form section<br> </a><br> <br> <a href="#show_hide_empty_variables_with_code"><br> Show/hide empty variables with code</a></p><h4>Put the Variable Editor in its Own Form Section</h4><p>This is the easiest and recommended way to save real estate on your form. Simply putting the variable editor in its own form section will allow users to see all variables while giving your users the convenience of not having to scroll through an extra long form.<br> <br> Navigate to the form layout you want to configure &gt; Form view and section &gt; Section &gt; New</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RweB1GI5fARnaAl4.png" /></figure><p>Name your new form section Variables and click OK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/0*JPYJC1L607dDjzQ-.png" /></figure><p>Add the Variable Editor from the left side to the right slide of the slushbucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IDOqnhzgPBj7pqVp.png" /></figure><p>**Note: Make sure the Variable Editor is not in any other sections before saving. If it is, remove it before saving the form. When I had the variable editor on two form sections and saved, I wasn’t able to pull up the context menu by right clicking on the column header. Try <a href="https://servicenowscholar.com/2019/07/05/help-right-click-context-menu-not-appearing-on-form-or-list/">this</a> if you’re running into this issue as well.<br> <strong>Save</strong><br> Your form should now look like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yfL2Po3ZP8BLC8G_.png" /></figure><p>**Note: If your form does not have tabbed form sections, it may be because you only have one form section on your form. If that doesn’t work, check that you have the <a href="https://servicenowscholar.com/2019/07/05/how-do-i-make-my-forms-tabbed/">tabbed forms checkbox checked in your system settings</a>.</p><h4>Show/Hide Empty Variables with Code</h4><p>If you want to take it a step further, you can add a checkbox which toggles any empty variables in the variable editor. You can even combine putting the variable editor in its own form section and hiding empty variables with code if you want.<br> <br> First create a field on the form called “Hide Empty Variables”<br> Create the following business rule:<br> <br> “Hide Empty Variables” Business Rule<br> Name: Hide Empty Variables<br> Table: Task<br> <strong>When</strong>: display<br> <br> Script:<br> (function executeRule(current, previous /*null when async*/) {<br> //Initialize the scratchpad variable<br> g_scratchpad.emptyVars = ‘’;<br> //Check to see if a variable pool exists<br> var count = 0;<br> for(vars in current.variable_pool){<br> count++;<br> break;<br> }<br> //If a variable pool exists then collect empty variable names<br> if(count &gt; 0){<br> var emptyVars = ;<br> var table = current.getTableName();<br> //Query for the empty variables for this record<br> //Catalog item and task variables pull from ‘sc_item_option_mtom’ table<br> if(table == ‘sc_req_item’ || table == ‘sc_task’){<br> var itemVars = new GlideRecord(‘sc_item_option_mtom’);<br> if(table == ‘sc_req_item’){<br> itemVars.addQuery(‘request_item’, current.sys_id);<br> }<br> if(table == ‘sc_task’){<br> itemVars.addQuery(‘request_item’, current.request_item.sys_id);<br> }<br> itemVars.addNullQuery(‘sc_item_option.value’);<br> //Exclude Label and Container variables<br> itemVars.addQuery(‘sc_item_option.item_option_new.type’, ‘!=’, 11);<br> itemVars.addQuery(‘sc_item_option.item_option_new.type’, ‘!=’, 19);<br> itemVars.addQuery(‘sc_item_option.item_option_new.type’, ‘!=’, 20);<br> //itemVars.addQuery(‘cat_item’, ‘!=’, “New Move Request”);<br> itemVars.query();<br> while(itemVars.next()){<br> //Add variable names to the emptyVars array<br> emptyVars.push(itemVars.sc_item_option.item_option_new.name.toString());<br> }<br> }<br> else{<br> //All other variables pulled from ‘question_answer’ table<br> var producerVars = new GlideRecord(‘question_answer’);<br> producerVars.addQuery(‘table_sys_id’, current.sys_id);<br> producerVars.addNullQuery(‘value’);<br> //Exclude Label and Container variables<br> producerVars.addQuery(‘question.type’, ‘!=’, 11);<br> producerVars.addQuery(‘question.type’, ‘!=’, 19);<br> producerVars.addQuery(‘question.type’, ‘!=’, 20);<br> producerVars.query();<br> while(producerVars.next()){<br> //Add variable names to the emptyVars array<br> emptyVars.push(producerVars.question.name.toString());<br> }<br> }<br> //Store the result in the scratchpad<br> g_scratchpad.emptyVars = emptyVars.join();<br> }<br> })(current, previous);<br> 3. Create the following Client Script:<br> “Toggle Show/Hide Empty Variables” Client Script<br> Name: Toggle Show/Hide Empty Variables<br> Table: Requested Item (sc_req_item)<br> Type: onChange<br> Field name: Hide Empty Variables<br> <br> <strong>Script</strong>:<br> function onChange(control, oldValue, newValue, isLoading, isTemplate) {<br> if (isLoading) {<br> return;<br> }<br> // Check for undefined value<br> if (typeof g_scratchpad.emptyVars == ‘undefined’) return;<br> var emptyVars;<br> // Hide all empty variables using the scratchpad object passed from ‘Hide Empty Variables’ business rule<br> if(g_scratchpad.emptyVars != ‘’)<br> emptyVars = g_scratchpad.emptyVars.split(‘,’);<br> if (typeof emptyVars != ‘undefined’) {<br> if (newValue == ‘true’) {<br> for (var i = 0; i &lt; emptyVars.length; i++) {<br> g_form.setDisplay(‘variables.’ + emptyVars, false);<br> }<br> } else {<br> for (var j = 0; j &lt; emptyVars.length; j++)<br> g_form.setDisplay(‘variables.’ + emptyVars,true);<br> }<br> }<br> }<br> 4. Test out the functionality by checking and unchecking the “Hide Empty Variables” checkbox. When checked, it should hide all variables without values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4oyxDlQhT4ZaE5Nr.png" /></figure><p>When unchecked, it should show all variables again including empty ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H9hsNu3gC0Ef8nlf.png" /></figure><p>Let us know if there’s anything we missed or you would like us to expand upon in the comments!<br> <br> At the time of this writing, we are on the London release. The information presented in this article may not apply to your instance if you are on a different version of ServiceNow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89f63431f6c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Do I Make My Forms Tabbed?]]></title>
            <link>https://medium.com/@servicenowscholar/how-do-i-make-my-forms-tabbed-bbc58712568b?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbc58712568b</guid>
            <category><![CDATA[formlayout]]></category>
            <category><![CDATA[tabs]]></category>
            <category><![CDATA[forms]]></category>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Wed, 07 Aug 2019 16:49:42 GMT</pubDate>
            <atom:updated>2019-08-07T16:49:42.409Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ttQHGuSMXCOx98SJ.png" /></figure><figure><img alt="How Do I Make My Forms Tabbed?" src="https://cdn-images-1.medium.com/max/1024/0*zfUG9Q7ZAkyfZZd2.png" /></figure><h3>How Do I Make My Forms Tabbed?</h3><h4>Tabbing forms allows for a more condensed layout</h4><p>For this example we’ll create tabs for one of the items:<br> <br> 1. Navigate to the form you want your sections to be tabbed on.<br> <br> 2. Click on the cog in the top right corner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*buhZ7cu6bGt_G0fH.png" /></figure><p>3. Click on the Forms section and turn on “Tabbed Forms”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kXm34JtDj3uNB-MV.png" /></figure><p>4. Now your form sections should be tabbed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/0*5WOrvfa4YDFzhIxA.png" /></figure><p>Let us know if there’s anything we missed or you would like us to expand upon in the comments! Don’t forget to <a href="https://servicenowscholar.us20.list-manage.com/subscribe/post?u=97cde07f90b84a47785c843a2&amp;id=a4791a4cea">subscribe</a>!<br> <br> At the time of this writing, we are on the Madrid release. The information presented in this article may not apply to your instance if you are on a different version of ServiceNow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbc58712568b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Help! Right Click Context Menu not Appearing on Form or List]]></title>
            <link>https://medium.com/@servicenowscholar/help-right-click-context-menu-not-appearing-on-form-or-list-bc6417d38ebd?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc6417d38ebd</guid>
            <category><![CDATA[forms]]></category>
            <category><![CDATA[formlayout]]></category>
            <category><![CDATA[context-menus]]></category>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Tue, 06 Aug 2019 19:45:14 GMT</pubDate>
            <atom:updated>2019-08-06T19:45:14.044Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-Qvf0PbLGCmbFsPI.png" /></figure><figure><img alt="Help! Right Click Context Menu not Appearing on Form or List" src="https://cdn-images-1.medium.com/max/1024/0*BX_-SsX_8za7vNJV.png" /></figure><h3>Help! Right-Click Context Menu Not Appearing on Form or List</h3><h4>Do this when you can’t access the context menu to configure your form or list layout</h4><p>It’s frightening and frustrating when you can’t edit a form or list because of a broken context menu. Luckily, there are a couple different ways to get to the form or list layout configuration. The context menu will sometimes break due to a faulty script loading on the client. You’ll have to troubleshoot the root cause of why the context menu has broken yourself, but in the meantime you should be able to access the context menu through one of the methods described below.</p><h4>Access Context Menu Option #1 — Hamburger Icon</h4><p>From the form, you should still be able to get to the form layout configuration by clicking on the hamburger icon in the upper left hand corner of the window. This one unfortunately only seems to work for the form layout and not the list layout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_2rj9RcMUASnb7UZ.png" /></figure><h4>Access Context Menu Option #2 — From the Table Record</h4><p>If the first method doesn’t work or you are trying to get to the list view, try accessing the form/list layout configuration from the table record itself.<br> <br> Navigate to System Definition &gt; Tables.<br> Find the table record you are trying to configure the form/list for.<br> Scroll to the Related Links and click on Layout Form or Layout List.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mIMv-K0enLyv08s1.png" /></figure><p>Let us know if there’s anything we missed or you would like us to expand upon in the comments! Don’t forget to <a href="https://servicenowscholar.us20.list-manage.com/subscribe/post?u=97cde07f90b84a47785c843a2&amp;id=a4791a4cea">subscribe</a>!<br> <br> At the time of this writing, we are on the London release. The information presented in this article may not apply to your instance if you are on a different version of ServiceNow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc6417d38ebd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Breadcrumbs]]></title>
            <link>https://medium.com/@servicenowscholar/breadcrumbs-11f21a4d2f21?source=rss-25cde28e45ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/11f21a4d2f21</guid>
            <category><![CDATA[condition]]></category>
            <category><![CDATA[filters]]></category>
            <category><![CDATA[breadcrumbs]]></category>
            <dc:creator><![CDATA[ServiceNow Scholar]]></dc:creator>
            <pubDate>Mon, 05 Aug 2019 17:25:04 GMT</pubDate>
            <atom:updated>2019-08-05T17:25:04.018Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/506/0*BhV5S-gGMWyn_q8s.png" /></figure><figure><img alt="Breadcrumbs" src="https://cdn-images-1.medium.com/max/506/0*ZEKW8frVOWHbPdDC.png" /></figure><h3>Breadcrumbs</h3><h4>Breadcrumbs are a hierarchy of filters that can be created, edited, and deleted</h4><p>Breadcrumbs are displayed in this format: <br> <br> All <strong>&gt;</strong> (Filter 1) <strong>&gt;</strong> (Filter 2) <strong>&gt; </strong>…<br> <br> In this example, our breadcrumbs are: <br> <br> All <strong>&gt; </strong>Priority = 1 — Critical <strong>&gt;</strong> Active = true <strong>&gt;</strong> Caller = David Miller <br> <br> This will sort out only records that are active, priority is critical, and caller is David Miller.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/0*mPSqkviZjA4T69X6.png" /></figure><h4>How to delete a single breadcrumb:</h4><p>1. To remove a single breadcrumb condition, click on the “<strong>&gt;</strong>” to the left of the breadcrumb conditions you want to delete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/0*Lk18VOx9Wk27VUhI.png" /></figure><p>2. For this example, we removed the “Priority = 1 — Critical” breadcrumb condition. Records with all priority are now displayed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/0*yTERpWqAJ51xzuHX.png" /></figure><h4>How to delete multiple breadcrumbs:</h4><p>1. To delete multiple breadcrumb conditions at once, click directly on a breadcrumb conditions and all subsequent breadcrumb conditions to the right of it will be deleted. For this example, we’ll click on the “Priority = 1 — Critical” breadcrumb condition and all breadcrumb conditions to the right of it will be deleted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/0*DniEkx8uzp-BUyrQ.png" /></figure><p>2. We see that all breadcrumb conditions after the “Priority = 1 — Critical” breadcrumb condition has been removed. We no longer see the breadcrumb conditions “Active = true” and “Caller = David Miller”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/0*Gro3pZCikwP_TOy5.png" /></figure><p>3. Now, our list only shows all records with the “Priority = 1 — Critical” status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/0*2lvHyqZ4DBMTDE1f.png" /></figure><p>Let us know if there’s anything we missed or you would like us to expand upon in the comments! Don’t forget to <a href="https://servicenowscholar.us20.list-manage.com/subscribe/post?u=97cde07f90b84a47785c843a2&amp;id=a4791a4cea">subscribe</a>!<br> <br> At the time of this writing, we are on the London release. The information presented in this article may not apply to your instance if you are on a different version of ServiceNow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11f21a4d2f21" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>