<?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 Call external command/script when task fails in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Call-external-command-script-when-task-fails/m-p/191947#M1323812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Situation: I have a set of QV Dokuments (located in the same directory) which are executed in a task chain (start task on event from another task). Each document has creation of log files enabled.&lt;/P&gt;&lt;P&gt;I would like to implement following behaviour:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the execution of one of the tasks fails I want to move all log files to a specific location on the file system&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Do you have any suggestions how to implement this behaviour?&lt;/P&gt;&lt;P&gt;The only solution if currently found is to add a "faild.task" to each of the tasks in the chain which could perform the movement of the log files. This is cumbersome and error-prone. Is there an other way?&lt;/P&gt;&lt;P&gt;In a chain of tasks I would like to have a "call-back-hook" which is executed when one of the tasks fails.&lt;/P&gt;&lt;P&gt;Moving files: currently I use an external script (actually it is an ant script) which does the job. Is there a better QV-way to move files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Call external command/script when task fails</title>
      <link>https://community.qlik.com/t5/QlikView/Call-external-command-script-when-task-fails/m-p/191947#M1323812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Situation: I have a set of QV Dokuments (located in the same directory) which are executed in a task chain (start task on event from another task). Each document has creation of log files enabled.&lt;/P&gt;&lt;P&gt;I would like to implement following behaviour:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the execution of one of the tasks fails I want to move all log files to a specific location on the file system&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Do you have any suggestions how to implement this behaviour?&lt;/P&gt;&lt;P&gt;The only solution if currently found is to add a "faild.task" to each of the tasks in the chain which could perform the movement of the log files. This is cumbersome and error-prone. Is there an other way?&lt;/P&gt;&lt;P&gt;In a chain of tasks I would like to have a "call-back-hook" which is executed when one of the tasks fails.&lt;/P&gt;&lt;P&gt;Moving files: currently I use an external script (actually it is an ant script) which does the job. Is there a better QV-way to move files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-external-command-script-when-task-fails/m-p/191947#M1323812</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
  </channel>
</rss>

