cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

if else condition task doubt

jeremy98
Honored Contributor

Hi community,

The if else condition task couldn't be used as real if condition? Seems that if the condition goes to False the entire job will be stop. Is it a right behaviour?

1 REPLY 1

jeremy98
Honored Contributor

Hi, 

I found that the problem is here:

       - task_key: get_email_infos
          max_retries: 3
          min_retry_interval_millis: 150000
          depends_on:
            - task_key: check_type_of_trigger
              outcome: "true"
            - task_key: check_status_to_schedule
              outcome: "false"
...

the `depends on` is sequential but since the first is not set from the flow instead the second yes, this task it's not run. How can I fix this?

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now