Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Call external command/script when task fails

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.

I would like to implement following behaviour:

  • If the execution of one of the tasks fails I want to move all log files to a specific location on the file system

Do you have any suggestions how to implement this behaviour?

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?

In a chain of tasks I would like to have a "call-back-hook" which is executed when one of the tasks fails.

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?

0 Replies