<?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: Load only one time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-only-one-time/m-p/885120#M657543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Federico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply add new variable with last reload date information and check it inside your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF $(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vLastReload&lt;/SPAN&gt;)&amp;lt;date(today()) THEN&lt;/P&gt;&lt;P&gt;..... your script....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vLastReload = date(ReloadTime());&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course document will be called for reloading but nothing will be done on second and afterward calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But of course better to use External triggered tasks for these purposes, e.g. Reload after finishing your ETL process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2015 11:23:45 GMT</pubDate>
    <dc:creator>crusader_</dc:creator>
    <dc:date>2015-05-19T11:23:45Z</dc:date>
    <item>
      <title>Load only one time</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-one-time/m-p/885119#M657542</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;I have this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need load a qlikview document depend of a value of one field in database that tell me if load in Oracle finish or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i ask if it is in "1" then load. but i management console i do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON SCHEDULE -- HOURLY&lt;/P&gt;&lt;P&gt;RUN EVERY 0 HOURS 10 MINUTES.&lt;/P&gt;&lt;P&gt;RUN ONLY BETWEEN 6:00 AM TO 10:00AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is after this task (data.task) come (layout task)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if oracle finish at 8:00 it will reload 8:10 8:20 8:30 etc.&lt;/P&gt;&lt;P&gt;I only need one load for day.&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 08:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-one-time/m-p/885119#M657542</guid>
      <dc:creator />
      <dc:date>2015-05-19T08:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Load only one time</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-one-time/m-p/885120#M657543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Federico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply add new variable with last reload date information and check it inside your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF $(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vLastReload&lt;/SPAN&gt;)&amp;lt;date(today()) THEN&lt;/P&gt;&lt;P&gt;..... your script....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vLastReload = date(ReloadTime());&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course document will be called for reloading but nothing will be done on second and afterward calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But of course better to use External triggered tasks for these purposes, e.g. Reload after finishing your ETL process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 11:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-one-time/m-p/885120#M657543</guid>
      <dc:creator>crusader_</dc:creator>
      <dc:date>2015-05-19T11:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Load only one time</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-one-time/m-p/885121#M657544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, but how can i do it only one time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i do more than one, i next reload same day 10 minutes later will save the doc witouth data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think taht data.qvw finish and then has another task layout.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 14:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-one-time/m-p/885121#M657544</guid>
      <dc:creator />
      <dc:date>2015-05-19T14:41:27Z</dc:date>
    </item>
  </channel>
</rss>

