<?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>topic Re: Select scenario - RandomFromAll option throwing errors. in Scalability</title>
    <link>https://community.qlik.com/t5/Scalability/Select-scenario-RandomFromAll-option-throwing-errors/m-p/69118#M77</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The log file you provided does not have this error, it instead has an error which points to access for the users not setup correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Access to the app is denied: NoAvailableAccessType&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;A note here is - the list box may not have up to 5 values depends on the user account configured for the test.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This sounds like you have section access? RandomFromAll will randomize between all possible values in the symbol table, thus trying to select values not accessible by the user, which will fail.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;See documentation:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;UL&gt;
&lt;LI&gt;RandomFromAll – This will randomize selections amongst all values in an object regardless if they are enabled (white, light grey, green) or disabled (dark grey). Note that this method should never be used on the Qlik Sense apps with Section Access.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is the case, please use RandomFromEnabled instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 07:49:41 GMT</pubDate>
    <dc:creator>Daniel_Larsson</dc:creator>
    <dc:date>2018-03-22T07:49:41Z</dc:date>
    <item>
      <title>Select scenario - RandomFromAll option throwing errors.</title>
      <link>https://community.qlik.com/t5/Scalability/Select-scenario-RandomFromAll-option-throwing-errors/m-p/69117#M76</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a script that will open a sheet -&amp;gt; select one or more options from a list box. For the selection I configured the parameters as&lt;/P&gt;&lt;P&gt;type - RandomFromAll -&amp;gt; Min 1 and Max 5&amp;nbsp; (there is only one dimension and is set to 0 as it is a list box).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the script it executes fine for all steps except for selection from the list. The result file has the following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR Invalid parameters [8]:Invalid parameters()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the other options like SelectPossible it works fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to fix this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A note here is - the list box may not have up to 5 values depends on the user account configured for the test.&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197085_Capture.JPG" style="height: 70px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 03:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Select-scenario-RandomFromAll-option-throwing-errors/m-p/69117#M76</guid>
      <dc:creator>naveenbalanagu</dc:creator>
      <dc:date>2018-03-22T03:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select scenario - RandomFromAll option throwing errors.</title>
      <link>https://community.qlik.com/t5/Scalability/Select-scenario-RandomFromAll-option-throwing-errors/m-p/69118#M77</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The log file you provided does not have this error, it instead has an error which points to access for the users not setup correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Access to the app is denied: NoAvailableAccessType&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;A note here is - the list box may not have up to 5 values depends on the user account configured for the test.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This sounds like you have section access? RandomFromAll will randomize between all possible values in the symbol table, thus trying to select values not accessible by the user, which will fail.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;See documentation:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;UL&gt;
&lt;LI&gt;RandomFromAll – This will randomize selections amongst all values in an object regardless if they are enabled (white, light grey, green) or disabled (dark grey). Note that this method should never be used on the Qlik Sense apps with Section Access.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is the case, please use RandomFromEnabled instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 07:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Select-scenario-RandomFromAll-option-throwing-errors/m-p/69118#M77</guid>
      <dc:creator>Daniel_Larsson</dc:creator>
      <dc:date>2018-03-22T07:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select scenario - RandomFromAll option throwing errors.</title>
      <link>https://community.qlik.com/t5/Scalability/Select-scenario-RandomFromAll-option-throwing-errors/m-p/69119#M78</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sorry for the incorrect attachment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is because of section access. I changed it to RandomFromEnabled and the scripts runs fine now. Thanks a lot Daniel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 15:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Select-scenario-RandomFromAll-option-throwing-errors/m-p/69119#M78</guid>
      <dc:creator>naveenbalanagu</dc:creator>
      <dc:date>2018-03-22T15:50:05Z</dc:date>
    </item>
  </channel>
</rss>

