<?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 Filter Certifications Based on Selected Multiple Skills (List Collector to List Collector) in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3334500#M3959</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I need help implementing dynamic filtering between two list collector fields in a custom table form.&lt;/P&gt;&lt;P&gt;Here’s my setup:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Skill Table&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Stores the list of available skills (e.g., Java, Python, AWS)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Certification Table&lt;/STRONG&gt;&lt;BR /&gt;Contains the following fields:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Certificate Name – Type: String&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Skill – Type: Reference (to Skill Table)&lt;BR /&gt;→ This field links each certification to a specific skill.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Main Table (Where form logic is applied)&lt;/STRONG&gt;&lt;BR /&gt;Has these two fields:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Skills – Type: List Collector (Reference to Skill Table)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Certifications – Type: List Collector (Reference to Certification Table)&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Goal:&lt;/STRONG&gt;&lt;BR /&gt;When I select one or more skills in the Skills field (list collector), I want the Certifications field (list collector) to show only those certifications that are linked to the selected skills.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If I select “Java” and “Python” as skills,&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then the Certifications field should only display certifications where the Skill field in the Certification Table matches either "Java" or "Python".&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;What I’ve Done:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The relationships are correctly set up.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I can filter certifications based on a single skill using a Dynamic Reference Qualifier.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;But now I want to support multiple skills (list collector) and update the certifications list dynamically based on all selected skills.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any help with the correct Reference Qualifier script, Client Script, or a simple working example would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jul 2025 10:39:03 GMT</pubDate>
    <dc:creator>SujanD345956992</dc:creator>
    <dc:date>2025-07-25T10:39:03Z</dc:date>
    <item>
      <title>Filter Certifications Based on Selected Multiple Skills (List Collector to List Collector)</title>
      <link>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3334500#M3959</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I need help implementing dynamic filtering between two list collector fields in a custom table form.&lt;/P&gt;&lt;P&gt;Here’s my setup:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Skill Table&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Stores the list of available skills (e.g., Java, Python, AWS)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Certification Table&lt;/STRONG&gt;&lt;BR /&gt;Contains the following fields:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Certificate Name – Type: String&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Skill – Type: Reference (to Skill Table)&lt;BR /&gt;→ This field links each certification to a specific skill.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Main Table (Where form logic is applied)&lt;/STRONG&gt;&lt;BR /&gt;Has these two fields:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Skills – Type: List Collector (Reference to Skill Table)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Certifications – Type: List Collector (Reference to Certification Table)&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Goal:&lt;/STRONG&gt;&lt;BR /&gt;When I select one or more skills in the Skills field (list collector), I want the Certifications field (list collector) to show only those certifications that are linked to the selected skills.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If I select “Java” and “Python” as skills,&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then the Certifications field should only display certifications where the Skill field in the Certification Table matches either "Java" or "Python".&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;What I’ve Done:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The relationships are correctly set up.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I can filter certifications based on a single skill using a Dynamic Reference Qualifier.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;But now I want to support multiple skills (list collector) and update the certifications list dynamically based on all selected skills.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any help with the correct Reference Qualifier script, Client Script, or a simple working example would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 10:39:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3334500#M3959</guid>
      <dc:creator>SujanD345956992</dc:creator>
      <dc:date>2025-07-25T10:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Certifications Based on Selected Multiple Skills (List Collector to List Collector)</title>
      <link>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3334522#M3961</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/897230"&gt;@SujanD345956992&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm assuming that in your ref qualifier currently you are using somehting like "skill="+skill_field_value.&lt;BR /&gt;Instead of "=", try the below,&lt;BR /&gt;"Skill&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;IN&lt;/STRONG&gt;&lt;/FONT&gt;"+skill_field_value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Share your exisitng ref qulaifier configuration.&lt;BR /&gt;Regards,&lt;BR /&gt;Siva&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 10:52:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3334522#M3961</guid>
      <dc:creator>J Siva</dc:creator>
      <dc:date>2025-07-25T10:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Certifications Based on Selected Multiple Skills (List Collector to List Collector)</title>
      <link>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3334568#M3962</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/662411"&gt;@J Siva&lt;/a&gt;&amp;nbsp; Thanks for your time.&lt;BR /&gt;This is the Dynamic reference qualifier script i am using when the skills field is of type list collector and certifications of type reference:-&amp;nbsp;&lt;BR /&gt;(function getQualification(current) {&lt;BR /&gt;if (!current.skills) {&lt;BR /&gt;return '';&lt;BR /&gt;}&lt;BR /&gt;return 'skill=' + current.skills;&lt;BR /&gt;})(current);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But the problem is, I cant use the dynamic reference qualifier for list collector ----&amp;gt; list collector, i.e., Skills of type List collector to Certifications of type list collector.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally I also tried using client scripts. I 'll mention them below:-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference Qualifier------&amp;gt; Advanced&lt;/P&gt;&lt;P&gt;Placeholder-------&amp;gt;skill=javascript&amp;amp;colon;current.skills&lt;/P&gt;&lt;P&gt;Client Script:-&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function onChange(control, oldValue, newValue, isLoading) {&lt;BR /&gt;if (isLoading) return;&lt;/P&gt;&lt;P&gt;// Get selected skills (array of sys_ids)&lt;BR /&gt;var selectedSkills = g_form.getValue('skills'); // comma-separated sys_ids&lt;BR /&gt;if (!selectedSkills) {&lt;BR /&gt;g_form.clearOptions('certification');&lt;BR /&gt;return;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// Construct filter: skill IN skill1,skill2,...&lt;BR /&gt;var filter = 'skillIN' + selectedSkills;&lt;/P&gt;&lt;P&gt;// Set filter dynamically&lt;BR /&gt;g_form.setReferenceQual('certification', filter);&lt;/P&gt;&lt;P&gt;// Optional: clear previous selections&lt;BR /&gt;g_form.clearValue('certification');&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you get this well.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 11:54:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3334568#M3962</guid>
      <dc:creator>SujanD345956992</dc:creator>
      <dc:date>2025-07-25T11:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Certifications Based on Selected Multiple Skills (List Collector to List Collector)</title>
      <link>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3334643#M3965</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/897230"&gt;@SujanD345956992&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there specific reason for not using advanced ref qualifier?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 12:55:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3334643#M3965</guid>
      <dc:creator>J Siva</dc:creator>
      <dc:date>2025-07-25T12:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Certifications Based on Selected Multiple Skills (List Collector to List Collector)</title>
      <link>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3335265#M3976</link>
      <description>&lt;P&gt;The client script I mentioned above is not properly calling the advanced reference qualifier function.&lt;/P&gt;&lt;P&gt;That's the problem.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jul 2025 09:10:25 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/filter-certifications-based-on-selected-multiple-skills-list/m-p/3335265#M3976</guid>
      <dc:creator>SujanD345956992</dc:creator>
      <dc:date>2025-07-26T09:10:25Z</dc:date>
    </item>
  </channel>
</rss>

