<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>post Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting) in ITSM articles</title>
    <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/ta-p/2301385</link>
    <description>&lt;P&gt;This post is to show how you can create a dependency between two variables similar to the Subcategory and Category field dependencies on the Incident form. This often comes as a requirement to add to the Create Incident record producer.&lt;/P&gt;
&lt;P&gt;1. &lt;STRONG&gt;Create the variable Category:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/89298i0D7BD422CEAEEE8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. &lt;STRONG&gt;Create the variable Subcategory:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/89301i8ED8EF776A315BD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. &lt;STRONG&gt;Add this in the Variable Attributes&lt;/STRONG&gt;-&lt;/P&gt;
&lt;P&gt;"&lt;SPAN style="color: #1d1c1d; font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: common-ligatures; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;ref_qual_elements=category&lt;/SPAN&gt;" without quotes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is all. Now, you don't have to create onChange client scripts or custom tables to handle the dependencies on Variables. Don't forget to mark as helpful if it helped :).&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 12:49:41 GMT</pubDate>
    <dc:creator>Ankit P</dc:creator>
    <dc:date>2020-04-30T12:49:41Z</dc:date>
    <item>
      <title>Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/ta-p/2301385</link>
      <description>&lt;P&gt;This post is to show how you can create a dependency between two variables similar to the Subcategory and Category field dependencies on the Incident form. This often comes as a requirement to add to the Create Incident record producer.&lt;/P&gt;
&lt;P&gt;1. &lt;STRONG&gt;Create the variable Category:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/89298i0D7BD422CEAEEE8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. &lt;STRONG&gt;Create the variable Subcategory:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/89301i8ED8EF776A315BD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. &lt;STRONG&gt;Add this in the Variable Attributes&lt;/STRONG&gt;-&lt;/P&gt;
&lt;P&gt;"&lt;SPAN style="color: #1d1c1d; font-family: Slack-Lato, appleLogo, sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: common-ligatures; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f8f8f8; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;ref_qual_elements=category&lt;/SPAN&gt;" without quotes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is all. Now, you don't have to create onChange client scripts or custom tables to handle the dependencies on Variables. Don't forget to mark as helpful if it helped :).&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 12:49:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/ta-p/2301385</guid>
      <dc:creator>Ankit P</dc:creator>
      <dc:date>2020-04-30T12:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2301386#M224</link>
      <description>&lt;P&gt;sorry it not working&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Apr 2021 07:42:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2301386#M224</guid>
      <dc:creator>adi narayana</dc:creator>
      <dc:date>2021-04-18T07:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2301387#M225</link>
      <description>&lt;P&gt;Could you please send the screenshots of your configurations?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 08:19:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2301387#M225</guid>
      <dc:creator>Ankit P</dc:creator>
      <dc:date>2021-04-19T08:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2301388#M226</link>
      <description>&lt;P&gt;put the &lt;EM&gt;&lt;STRONG&gt;ref_qual_elements=category&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;inside the&amp;nbsp;&lt;STRONG&gt;Reference qualifier&lt;/STRONG&gt; section instead of &lt;STRONG&gt;Default value&lt;/STRONG&gt; section&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 09:08:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2301388#M226</guid>
      <dc:creator>Sarvesh Prajapa</dc:creator>
      <dc:date>2022-03-15T09:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2610863#M2114</link>
      <description>&lt;P&gt;Ankit,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is fantastic, it worked perfectly for me and just the solution that I needed to configure for my client!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks ever so much for sharing, greatly appreciated Ankit.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 20:43:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2610863#M2114</guid>
      <dc:creator>WazzaJC</dc:creator>
      <dc:date>2023-07-11T20:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2788013#M2251</link>
      <description>&lt;P&gt;It is working perfectly. I have an query that do we can made the subcategory field to select more than one item.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 17:18:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/2788013#M2251</guid>
      <dc:creator>Keerthi Lakshmi</dc:creator>
      <dc:date>2024-01-10T17:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3199452#M2745</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/254039"&gt;@Ankit P&lt;/a&gt;&amp;nbsp;thanks for providing your solution, it's working as it should. I can confirm this is working on a regular catalog item as well.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 12:38:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3199452#M2745</guid>
      <dc:creator>philipzhekov</dc:creator>
      <dc:date>2025-03-07T12:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3239983#M2779</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This solution saved me from writing a bulky client script and script include.&amp;nbsp; Thank you very very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;One quick note;&lt;/STRONG&gt; I naively just added&amp;nbsp;&lt;SPAN&gt;ref_qual_elements=category into the reference qualifier. However, after adding&amp;nbsp;javascript&amp;amp;colon;"element=subcategory^name=incident^dependent_value=" + current.variables.category this solution worked.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mind what you are pasting&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 18:11:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3239983#M2779</guid>
      <dc:creator>AysenurU</dc:creator>
      <dc:date>2025-04-16T18:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3352271#M2891</link>
      <description>&lt;P&gt;javascript&amp;amp;colon;"element=subcategory^name=incident^dependent_value=" + current.variables.category&lt;BR /&gt;&lt;BR /&gt;Worked for me.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 14:30:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3352271#M2891</guid>
      <dc:creator>MujeebQ</dc:creator>
      <dc:date>2025-08-14T14:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3441289#M2964</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/254039"&gt;@Ankit P&lt;/a&gt;&amp;nbsp; ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This solution that you have provided is not working for me , Can you please help me&amp;nbsp; ?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 09:34:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3441289#M2964</guid>
      <dc:creator>SujithaPS</dc:creator>
      <dc:date>2025-12-02T09:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3450994#M2979</link>
      <description>&lt;P&gt;Great information; thanks for sharing&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 18:45:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3450994#M2979</guid>
      <dc:creator>Matthew_13</dc:creator>
      <dc:date>2025-12-16T18:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Category-Subcategory dependency in Service Catalog (Make variables dependent without scripting)</title>
      <link>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3452244#M2991</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/254039"&gt;@Ankit P&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I have tried same way on my instance but in subcategory 'Other' choice is not setting at bottom even if adding order by sequence(Image attached ) and setting order 9999 in choice table.&lt;BR /&gt;do you know anything about this, why it is not setting properly on portal.&lt;BR /&gt;It is showing properly on incident table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HarshalaK_2-1766047388884.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/491580i4567173F6908B06B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="HarshalaK_2-1766047388884.png" alt="HarshalaK_2-1766047388884.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HarshalaK_1-1766047230308.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/491579iFECCC03118E6154C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="HarshalaK_1-1766047230308.png" alt="HarshalaK_1-1766047230308.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to set other at bottom.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HarshalaK_0-1766047196316.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/491578iD4323F8F1BFD53A6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="HarshalaK_0-1766047196316.png" alt="HarshalaK_0-1766047196316.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 08:43:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-articles/category-subcategory-dependency-in-service-catalog-make/tac-p/3452244#M2991</guid>
      <dc:creator>HarshalaK</dc:creator>
      <dc:date>2025-12-18T08:43:54Z</dc:date>
    </item>
  </channel>
</rss>

