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
Contributor III

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
Contributor III

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?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group