Source
yaml
id: finally-failure-flow
namespace: company.team
tasks:
- id: log
type: io.kestra.plugin.core.execution.Fail
finally:
- id: final_task
type: io.kestra.plugin.core.log.Log
message: "This task gets executed irrespective of whether the flow is successful
or failed."
About this blueprint
Software Engineering
This flow demonstrates that the tasks in the finally
block gets executed even when the flow has failed.
More Related Blueprints