Condition that matches if any taskRun has retry attempts.
yaml
type: "io.kestra.plugin.core.condition.HasRetryAttempt"Examples
Trigger condition when any flow task on retry enters the state specified in the in states under the HasRetryAttempt condition.
yaml
id: flow_condition_hasretryattempt
namespace: company.team
tasks:
  - id: log_message
    type: io.kestra.plugin.core.log.Log
    message: "This flow will execute when any flow task on retry enters a specific state(s)."
triggers:
  - id: flow_condition
    type: io.kestra.plugin.core.trigger.Flow
    conditions:
      - type: io.kestra.plugin.core.condition.HasRetryAttempt
        in:
          - FAILED
Properties
in array
 SubType string
 Possible Values 
CREATEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTList of states that are authorized.
notIn array
 SubType string
 Possible Values 
CREATEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTList of states that aren't authorized.
