Skip to main content

Official Support Articles

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Skip the ticket, Chat with Qlik Support instead for instant assistance.

Qlik Application Automation: How to automatically rerun a failed automation

Showing results for 
Search instead for 
Did you mean: 

Qlik Application Automation: How to automatically rerun a failed automation

An automation will not automatically rerun or retry if it fails. You can, however, rerun a failed automation by using an additional automation. 

Caution should be taken when implementing this solution to prevent running endless loops or reruns. 




Before a solution can be implemented you must decide if the rerun should:

  1. Retry the failed automation run using the same, if any, input.
  2. Initiate an entirely new run of the automation.


Retry Automation Run

The block Retry Automation Run can be used to retry a specific run of the automation using the same, if any, inputs. This block is useful if the monitored automation has its run mode set to Webhook or Triggered. It is also possible to manually re-run these runs using the Retry button in the automations run history.

retry button on an automation.png


Run Automation

The block Run Automation can be used to initiate a new run of the automation. This block is useful if the automation that fails has the run mode set to Scheduled, and the inputs of the failed run wouldn’t be unique.


Rerun example

The following example shows how a failed automation can be retried using the Retry Automation Run. Depending on the specifics of the automation you want to rerun, you may want to use the Run Automation block instead.

  1. Use the block List My Automations to get all of your automations.
  2. Then use the block List Automation Runs to only get the runs that have failed by filtering on status:

    List Automation Reruns.png

  3. Use the block Transform List to create a list of failed runs. Add the two fields id and stopTime to this list and configure them such as this:

    id field.png

    stop time field.png

    The value for stopTime must be transformed using the Date formula so that the value may be used for comparisons. The output format must be changed to Unix format (U):

    output format U.png

  4. Now use the block Filter List to only get the most recently failed runs.

    Filter List.png

    The condition that controls how recent failed runs you would like to retry can be configured according to your needs by modifying the "Date" formula. Ensure that you configure the output format to be in Unix format (U). In this case runs that has failed within 30 minutes will be rerun:

    Edit Formula 30 minutes run.png

  5. The final step is to include one of the blocks Retry Automation Run or Run Automation, depending on what you are trying to achieve. This is an example of how the Retry Automation Run should be configured:

    Retry Automation Run.png

    In case the Run Automation block is used, only the "Automation Id" is needed as input.


Full Automation:

Full Rerun Automation view.png


The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.




Qlik Application Automation 

Labels (1)
Version history
Last update:
‎2023-03-10 08:54 AM
Updated by: