<?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 How to increase Max length of list collector variable in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/how-to-increase-max-length-of-list-collector-variable/m-p/2870250#M517125</link>
    <description>&lt;P&gt;Problem:&amp;nbsp;When submitting a service catalog form, the affected CIs selected on the form are not completely visible on the RITM or its child tasks when affected CIs are more than 121. While submitting, it is taking more than 121 records on affected CIs, but only 121 records are showing in the detailed description and request details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected Behavior:&amp;nbsp;I must be able to view all of the affected CIs on the RITM and it's child tickets regardless of the number of affected CIs involved. The correct count should be listed in both detailed description and the related list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Affected CI's&lt;BR /&gt;After 121 records this error number '6e0c8b5' is showing up on request details and detailed description. Can anyone help me to fix this issue?&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 21:39:37 GMT</pubDate>
    <dc:creator>Ramyav</dc:creator>
    <dc:date>2024-03-19T21:39:37Z</dc:date>
    <item>
      <title>How to increase Max length of list collector variable</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-increase-max-length-of-list-collector-variable/m-p/2870250#M517125</link>
      <description>&lt;P&gt;Problem:&amp;nbsp;When submitting a service catalog form, the affected CIs selected on the form are not completely visible on the RITM or its child tasks when affected CIs are more than 121. While submitting, it is taking more than 121 records on affected CIs, but only 121 records are showing in the detailed description and request details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected Behavior:&amp;nbsp;I must be able to view all of the affected CIs on the RITM and it's child tickets regardless of the number of affected CIs involved. The correct count should be listed in both detailed description and the related list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Affected CI's&lt;BR /&gt;After 121 records this error number '6e0c8b5' is showing up on request details and detailed description. Can anyone help me to fix this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 21:39:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-increase-max-length-of-list-collector-variable/m-p/2870250#M517125</guid>
      <dc:creator>Ramyav</dc:creator>
      <dc:date>2024-03-19T21:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase Max length of list collector variable</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-increase-max-length-of-list-collector-variable/m-p/2870403#M517133</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/689487"&gt;@Ramyav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm afraid there's a cap on list collector records. Please refer below support articles.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0954598" target="_blank"&gt;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0954598&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB1268773#:~:text=Description,on%20%22Run%20Filter%22%20again" target="_blank"&gt;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB1268773#:~:text=Description,on%20%22Run%20Filter%22%20again&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&lt;/P&gt;
&lt;P&gt;Ravi Chandra.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 03:41:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-increase-max-length-of-list-collector-variable/m-p/2870403#M517133</guid>
      <dc:creator>Ravi Chandra_K</dc:creator>
      <dc:date>2024-03-20T03:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to increase Max length of list collector variable</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-increase-max-length-of-list-collector-variable/m-p/3410699#M549434</link>
      <description>&lt;P&gt;Hi, I have the exact Same Issue. The Issue is caused by the maximum length of the variable. Under the hood the List Collector will save the selected CIs as a comma separeted List of sys_ids. Each sys_id has 32 characters which results in 3872 characters for 121 CIs. Add the 121 commas in that List and you have 3993 characters. As the maximum is set to 4000 characters the first 7 characters of the 122th sys_id are cut off. In your case the&amp;nbsp;6e0c8b5&amp;nbsp; are these first 7 characters of the last sys_id.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The best work aound that I found was a Catalog Client Script for onSubmit that prevents if the number of CIs selected is over 121.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function onSubmit() {
    var fieldName = 'your_field_name'; //insert your field Name without a variables.
    var fieldValue = [];
    fieldValue = g_form.getValue(fieldName).toString().split(',');

    if (fieldValue.length &amp;gt; 121) {
        g_form.addErrorMessage('Because of technical restaints you can only insert a maximum of 121 CIs. You are trying to insert ' + fieldValue.length + '  CIs.');
        return false; // Prevent form submission
    }

    return true; // Allow form submission&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me the client Script needed to be set up as UI Type all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Janis Schwering&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 19:31:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-increase-max-length-of-list-collector-variable/m-p/3410699#M549434</guid>
      <dc:creator>Janis Schwering</dc:creator>
      <dc:date>2025-10-22T19:31:23Z</dc:date>
    </item>
  </channel>
</rss>

