Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

Qlik Application Automation and task chaining: clarification on "On Error --> Stop" and adding a condition on successful reload before the next reload

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniele_Purrone
Support
Support

Qlik Application Automation and task chaining: clarification on "On Error --> Stop" and adding a condition on successful reload before the next reload

Last Update:

Nov 9, 2022 9:53:02 AM

Updated By:

Sonja_Bauernfeind

Created date:

Nov 9, 2022 9:50:09 AM

Qlik's help site mentions the necessity of adding a condition to a task reload chain in Qlik Application Automation in order to "trigger the second reload only if the first reload is successful."

Can the same thing be achieved by using the "On Error: Stop" option in the Settings of the first reload?


On Error Stop.png

 

Resolution

There are differences between the "On Error: Stop" setting and the "if the status = succeed" condition.

  1. "On Error: Stop" will terminate the automation if the "Do Reload" fails at the higher level. For instance, if the app with that APPID does not exist anymore. If the reload starts and it's not successful, that will not be captured as an error
  2. The "if the status = succeed" condition will check the actual status of the previous app reload in Qlik Sense, and it's the only way to determine if it was really successful
  3. Hitting an error with the "On Error: Stop" setting will completely terminate the automation. All further blocks will be ignored
  4. The "if the status = succeed" condition will apply only to the blocks contained within that condition. This means that other subsequent blocks can be executed if outside the scope of that condition.

 

Related Content:

Qlik Help Site on Task Chaining
How to: task chaining with Qlik Application Automation

 

 

Environment

Qlik Application Automation on Qlik Cloud 

Labels (1)
Version history
Last update:
‎2022-11-09 09:53 AM
Updated by: