<?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>question Re: List Collector choices based on Reference field value in Service Management forum</title>
    <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2660351#M34986</link>
    <description>&lt;P&gt;Absolutely!&amp;nbsp; On the sys_choice table in this example thus far, we are only using the dependent_value field, so the other fields like Table (name) and Element (element) can be anything in this case.&amp;nbsp; To only show a subset of choices with the same dependent_value, you can use 2 different values in the element field - whatever you want them to be since this isn't used for anything else on these choices.&amp;nbsp; If you populate the element field with 'client_role' on one or more choices, then your reference qualifier on the Client Role variable would look more like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BradBowman_0-1693663293850.png" style="width: 622px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/285649iA3D9DA0F4CC30B33/image-dimensions/622x47/is-moderation-mode/true?v=v2" width="622" height="47" role="button" title="BradBowman_0-1693663293850.png" alt="BradBowman_0-1693663293850.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then populate the element field with something else for the Transaction Type choices and set the reference qualifier on that variable with that same value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Sep 2023 14:02:59 GMT</pubDate>
    <dc:creator>Brad Bowman</dc:creator>
    <dc:date>2023-09-02T14:02:59Z</dc:date>
    <item>
      <title>List Collector choices based on Reference field value</title>
      <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2658831#M34971</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;In the Portal, we have this requirement in the catalog form where we need to filter the &lt;STRONG&gt;List Collector&lt;/STRONG&gt; choices (sys_choice table) based on the value selected in &lt;STRONG&gt;Reference field&lt;/STRONG&gt; (practice_group table)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;When Reference field selected "Group 1", the List Collector choices should be [ G1, G2, G3 ]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;When&amp;nbsp;Reference field selected "Group 2", the List Collector choices should be [ B1, B2, B3 ]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I do this filtering via reference qualifier in the Collector field?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 13:33:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2658831#M34971</guid>
      <dc:creator>ss123</dc:creator>
      <dc:date>2023-08-31T13:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: List Collector choices based on Reference field value</title>
      <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2658945#M34972</link>
      <description>&lt;P&gt;If your sys_choice table has a field that is populated with the sys_id for 'Group1' in the Dependent value column on the records G1, G2, and G3 and so forth, then your reference qualifier would look like this:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;javascript&amp;amp;colon;"dependent_value=" + current.variables.ref_var_name&lt;/LI-CODE&gt;
&lt;P&gt;where &amp;amp;colon; is replaced with the colon symbol, and ref_var_name is replaced with the name of your reference variable.&amp;nbsp; Since this is a List Collector type variable, you will also want to add the variable attribute:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;ref_qual_elements=ref_var_name&lt;/LI-CODE&gt;
&lt;P&gt;which will ensure that the list is updated when the reference variable changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:44:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2658945#M34972</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2023-08-31T14:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: List Collector choices based on Reference field value</title>
      <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2659330#M34973</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/174062"&gt;@Brad Bowman &lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using this in the List Collector field but upon testing and changing the Reference Value, the List collector displays "No matches found"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reference Qualifier: javascript&amp;amp;colon;"dependent_value="+current.variables.u_aol&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Variable Attribute:&amp;nbsp;ref_qual_elements=u_aol&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that I have added the sys_id of the reference value on Dependent Value in sys_choice.&lt;/P&gt;&lt;P&gt;May I please ask for further assistance. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 05:10:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2659330#M34973</guid>
      <dc:creator>ss123</dc:creator>
      <dc:date>2023-09-01T05:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: List Collector choices based on Reference field value</title>
      <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2659789#M34974</link>
      <description>&lt;P&gt;This is working for me in a mockup of this scenario.&amp;nbsp; Please confirm that &lt;STRONG&gt;u_aol&lt;/STRONG&gt; is exactly the name of the reference variable (no trailing space,...), that your reference qualifier looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BradBowman_0-1693569039974.png" style="width: 627px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/285523i36A0EC81BF33D643/image-dimensions/627x58/is-moderation-mode/true?v=v2" width="627" height="58" role="button" title="BradBowman_0-1693569039974.png" alt="BradBowman_0-1693569039974.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and that you have added the sys_id of the record you are selecting in the reference variable on every applicable record in the dependent value field of the sys_choice table?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 12:01:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2659789#M34974</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2023-09-01T12:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: List Collector choices based on Reference field value</title>
      <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2660289#M34985</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/174062"&gt;@Brad Bowman &lt;/a&gt;&amp;nbsp;this is now working for one of the reference value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How about if there are 2 List Collector fields&amp;nbsp;&lt;SPAN&gt;(sys_choice table) that is based on the same value of the selected in&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Reference field.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;These are the list collector fields that the choices should be based on the reference value (u_aol). These 2 fields have different choices but have the same dependent values.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SMSS_0-1693643957917.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/285636i16E97EDE969C4A4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SMSS_0-1693643957917.png" alt="SMSS_0-1693643957917.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I've tried to create a new sys_choices and add the dependent value of the same sys_id from 'u_aol'. But when I tested, these two fields copies the same choices because they have the same dependent values.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can the reference qualifier be modified for this requirement? Thanks!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2023 08:42:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2660289#M34985</guid>
      <dc:creator>ss123</dc:creator>
      <dc:date>2023-09-02T08:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: List Collector choices based on Reference field value</title>
      <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2660351#M34986</link>
      <description>&lt;P&gt;Absolutely!&amp;nbsp; On the sys_choice table in this example thus far, we are only using the dependent_value field, so the other fields like Table (name) and Element (element) can be anything in this case.&amp;nbsp; To only show a subset of choices with the same dependent_value, you can use 2 different values in the element field - whatever you want them to be since this isn't used for anything else on these choices.&amp;nbsp; If you populate the element field with 'client_role' on one or more choices, then your reference qualifier on the Client Role variable would look more like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BradBowman_0-1693663293850.png" style="width: 622px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/285649iA3D9DA0F4CC30B33/image-dimensions/622x47/is-moderation-mode/true?v=v2" width="622" height="47" role="button" title="BradBowman_0-1693663293850.png" alt="BradBowman_0-1693663293850.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then populate the element field with something else for the Transaction Type choices and set the reference qualifier on that variable with that same value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Sep 2023 14:02:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2660351#M34986</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2023-09-02T14:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: List Collector choices based on Reference field value</title>
      <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2660669#M34988</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/174062"&gt;@Brad Bowman &lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 03:01:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2660669#M34988</guid>
      <dc:creator>ss123</dc:creator>
      <dc:date>2023-09-04T03:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: List Collector choices based on Reference field value</title>
      <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2661519#M34997</link>
      <description>&lt;P&gt;You are welcome!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 16:42:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2661519#M34997</guid>
      <dc:creator>Brad Bowman</dc:creator>
      <dc:date>2023-09-04T16:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: List Collector choices based on Reference field value</title>
      <link>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2825254#M35841</link>
      <description>&lt;P&gt;Hi Brad! I have similiar Issue. Right now I have a reference field "Requested For" (sys_user table), and List Collector "Groups that user should be removed from" (sys_user_grmember). I need to show only Groups that user is member of + some conditions like 'Active is true', 'Name starts with AB.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea how could I achieve this?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 11:23:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/service-management-forum/list-collector-choices-based-on-reference-field-value/m-p/2825254#M35841</guid>
      <dc:creator>tymonsamaga</dc:creator>
      <dc:date>2024-02-13T11:23:14Z</dc:date>
    </item>
  </channel>
</rss>

