<?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: Error Automatic Distibution Task but not Manual Task in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Error-Automatic-Distibution-Task-but-not-Manual-Task/m-p/2492467#M14321</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;Qlik variables can persist across reloads if they are not cleared explicitly in the script. If minDIMID is defined in your script, it might be causing a conflict in the automatic load because the variable could already exist from a previous session or task execution.&lt;/P&gt;
&lt;P&gt;Try adding a line to drop or reset minDIMID at the start of your script to ensure it doesn’t persist unexpectedly:&lt;/P&gt;
&lt;P&gt;SET minDIMID = Null();&lt;/P&gt;
&lt;P&gt;Manual tasks often run with the full Qlik session environment loaded, whereas scheduled tasks might execute in a more constrained context, potentially leading to variables or fields not being initialized as expected.&lt;BR /&gt;Try running the script in debug mode with a simulated scheduled task environment to catch any potential discrepancies. Also, if minDIMID is a calculated field, ensure all dependencies for its calculation are loaded and defined before its assignment.&lt;/P&gt;
&lt;P&gt;Qlik’s automated loads may handle errors differently than manual ones, especially if there’s an "on error" handling configuration that’s stopping or altering the script flow in automatic mode.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 09:38:02 GMT</pubDate>
    <dc:creator>diegozecchini</dc:creator>
    <dc:date>2024-11-13T09:38:02Z</dc:date>
    <item>
      <title>Error Automatic Distibution Task but not Manual Task</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Error-Automatic-Distibution-Task-but-not-Manual-Task/m-p/2490897#M14287</link>
      <description>&lt;P&gt;Dear Gurus,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some problems with one automatic data loading process that is extractig data from SAP BW Infocubes. Everytime it's triggered &lt;STRONG&gt;automatically&lt;/STRONG&gt; (after planning a daily load) I get the following error:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Error: The name 'minDIMID' already exists.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;However if I trigger it manually the result is OK.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea about why I can load data manually in the QMC but not automatically?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;Jordi&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 16:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Error-Automatic-Distibution-Task-but-not-Manual-Task/m-p/2490897#M14287</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2024-11-05T16:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error Automatic Distibution Task but not Manual Task</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Error-Automatic-Distibution-Task-but-not-Manual-Task/m-p/2492467#M14321</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;Qlik variables can persist across reloads if they are not cleared explicitly in the script. If minDIMID is defined in your script, it might be causing a conflict in the automatic load because the variable could already exist from a previous session or task execution.&lt;/P&gt;
&lt;P&gt;Try adding a line to drop or reset minDIMID at the start of your script to ensure it doesn’t persist unexpectedly:&lt;/P&gt;
&lt;P&gt;SET minDIMID = Null();&lt;/P&gt;
&lt;P&gt;Manual tasks often run with the full Qlik session environment loaded, whereas scheduled tasks might execute in a more constrained context, potentially leading to variables or fields not being initialized as expected.&lt;BR /&gt;Try running the script in debug mode with a simulated scheduled task environment to catch any potential discrepancies. Also, if minDIMID is a calculated field, ensure all dependencies for its calculation are loaded and defined before its assignment.&lt;/P&gt;
&lt;P&gt;Qlik’s automated loads may handle errors differently than manual ones, especially if there’s an "on error" handling configuration that’s stopping or altering the script flow in automatic mode.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 09:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Error-Automatic-Distibution-Task-but-not-Manual-Task/m-p/2492467#M14321</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2024-11-13T09:38:02Z</dc:date>
    </item>
  </channel>
</rss>

