<?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 Reload Task with trigger from QMC in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Reload-Task-with-trigger-from-QMC/m-p/27688#M1911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know how I should addapt my script in the following case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 apps:&lt;/P&gt;&lt;P&gt;APP1: One that load my data from excel source and convert into QVD. So every day I have a new DATA_YYYYMMDD.QVD. the raload task is set to each 5 minutes because files can arrive at any moment. But a first check is done at the begining to look il file is new. if there is no new file then I use function Exit Script in order to not run complete relaod for nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APP2: The second app will load all the QVD in order to have full history of data. &lt;SPAN style="font-size: 10pt;"&gt;So the second App (APP2)&amp;nbsp; has been set to be triggered after APP1. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I would like to only trigger APP2 if APP1 has loaded new data. But in QMC I only have option to trigger if reload APP1 Succes or Failed. So exit script in APP1 doesn't return a fail and I have my APP2 relaoded every 5 minutes for nothing. I could place the same conditions as in APP1 (&lt;SPAN style="font-size: 13.3333px;"&gt;file is new) but then if a load nothing I have not data in my APP2. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Maybe I'm not doing it right or maybe there is a better construction to set. Or also I partial relaod could be triggered from QMC this would help but apparently it's not possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for your support&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Feb 2018 09:32:32 GMT</pubDate>
    <dc:creator>reivax31</dc:creator>
    <dc:date>2018-02-15T09:32:32Z</dc:date>
    <item>
      <title>Reload Task with trigger from QMC</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-Task-with-trigger-from-QMC/m-p/27688#M1911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know how I should addapt my script in the following case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 apps:&lt;/P&gt;&lt;P&gt;APP1: One that load my data from excel source and convert into QVD. So every day I have a new DATA_YYYYMMDD.QVD. the raload task is set to each 5 minutes because files can arrive at any moment. But a first check is done at the begining to look il file is new. if there is no new file then I use function Exit Script in order to not run complete relaod for nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APP2: The second app will load all the QVD in order to have full history of data. &lt;SPAN style="font-size: 10pt;"&gt;So the second App (APP2)&amp;nbsp; has been set to be triggered after APP1. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I would like to only trigger APP2 if APP1 has loaded new data. But in QMC I only have option to trigger if reload APP1 Succes or Failed. So exit script in APP1 doesn't return a fail and I have my APP2 relaoded every 5 minutes for nothing. I could place the same conditions as in APP1 (&lt;SPAN style="font-size: 13.3333px;"&gt;file is new) but then if a load nothing I have not data in my APP2. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Maybe I'm not doing it right or maybe there is a better construction to set. Or also I partial relaod could be triggered from QMC this would help but apparently it's not possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for your support&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 09:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-Task-with-trigger-from-QMC/m-p/27688#M1911</guid>
      <dc:creator>reivax31</dc:creator>
      <dc:date>2018-02-15T09:32:32Z</dc:date>
    </item>
  </channel>
</rss>

