<?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: Tasks with multiple levels running into eachother in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097690#M364541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should add something (it could be a file or a flag in a file) to indicate the task 2 or 3 is running.&lt;/P&gt;&lt;P&gt;At the start of task 2 you set the flag (RUN) and at the end of 3 you reset (NOTRUN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task 1 should read in loop the flag (look at sleep function) and wait until there is the NOTRUN.&lt;/P&gt;&lt;P&gt;Another option is to abort task 1 when there is a RUN (this is if you want to wait until next hourly reload; you can abort with a load from a not existing qvd).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also need a little .qvw to reset&amp;nbsp; the flag (NOTRUN) when task2 or task3 aborts (when failed).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2016 14:46:00 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2016-08-26T14:46:00Z</dc:date>
    <item>
      <title>Tasks with multiple levels running into eachother</title>
      <link>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097685#M364536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've set up some tasks in the QMC with triggers 'on successful completion of the previous task'.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task 1 - Trigger - Run every hour&lt;/P&gt;&lt;P&gt;Task 2 - Trigger - Run on completion of Task 1&lt;/P&gt;&lt;P&gt;Task 3 - Trigger - Run on completion of Task 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task 1 and 2 create qvd files that task 3 reads.&amp;nbsp; The problem I'm running into is, sometimes, task 3 isn't finished running when task 1 kicks back up.&amp;nbsp; How do I make it so Task 1 skips its hourly reload if Task 2 or Task 3 is still running?&amp;nbsp; Thank you for any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 13:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097685#M364536</guid>
      <dc:creator>joshabbott</dc:creator>
      <dc:date>2016-08-26T13:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Tasks with multiple levels running into eachother</title>
      <link>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097686#M364537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Task 1 - Trigger - Run every hour and a half.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 13:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097686#M364537</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-08-26T13:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tasks with multiple levels running into eachother</title>
      <link>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097687#M364538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Task 2 and 3 are inconsistent thought, it might need to wait 2 hours, and if it only needs to wait 1 hour, then it should run every hour.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 14:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097687#M364538</guid>
      <dc:creator>joshabbott</dc:creator>
      <dc:date>2016-08-26T14:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Tasks with multiple levels running into eachother</title>
      <link>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097688#M364539</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;Can you please specify the exact time taking for each and every tasks,Mean while In that Does &lt;STRONG&gt;Task1 and Task 2&lt;/STRONG&gt; both create QVD's or there are dashboards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be this way, If the time taking for each &amp;amp; every Task is not constant means. You can go with a individual QVW with both QVD generation and loading&amp;nbsp; the data in the same dashboard itself which is promptly required to update regularly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 14:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097688#M364539</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-08-26T14:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tasks with multiple levels running into eachother</title>
      <link>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097689#M364540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check the time it takes all the tasks to complete. Then you will come to know how to schedule the Task1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 14:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097689#M364540</guid>
      <dc:creator>ramchalla</dc:creator>
      <dc:date>2016-08-26T14:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Tasks with multiple levels running into eachother</title>
      <link>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097690#M364541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should add something (it could be a file or a flag in a file) to indicate the task 2 or 3 is running.&lt;/P&gt;&lt;P&gt;At the start of task 2 you set the flag (RUN) and at the end of 3 you reset (NOTRUN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task 1 should read in loop the flag (look at sleep function) and wait until there is the NOTRUN.&lt;/P&gt;&lt;P&gt;Another option is to abort task 1 when there is a RUN (this is if you want to wait until next hourly reload; you can abort with a load from a not existing qvd).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also need a little .qvw to reset&amp;nbsp; the flag (NOTRUN) when task2 or task3 aborts (when failed).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 14:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097690#M364541</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-08-26T14:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Tasks with multiple levels running into eachother</title>
      <link>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097691#M364542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this may be the best option, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 18:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tasks-with-multiple-levels-running-into-eachother/m-p/1097691#M364542</guid>
      <dc:creator>joshabbott</dc:creator>
      <dc:date>2016-08-26T18:07:41Z</dc:date>
    </item>
  </channel>
</rss>

