<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: run_if dependencies configuration within YAML in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/run-if-dependencies-configuration-within-yaml/m-p/125879#M47558</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/175519"&gt;@yvesbeutler&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;You can set &lt;EM&gt;run_if: AT_LEAST_ONE_SUCCESS&lt;/EM&gt; on the final task in your YAML configuration to ensure your workflow doesn't fail just because a dependent job fails. This way, the final task and the overall job will only fail if all its dependencies fail.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jul 2025 15:04:36 GMT</pubDate>
    <dc:creator>Advika</dc:creator>
    <dc:date>2025-07-21T15:04:36Z</dc:date>
    <item>
      <title>run_if dependencies configuration within YAML</title>
      <link>https://community.databricks.com/t5/data-engineering/run-if-dependencies-configuration-within-yaml/m-p/125823#M47533</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;I have a workflow with various python wheel tasks and one job task to call another workflow. How can I prevent my original workflow from getting an unsuccessful state if the second workflow fails? These workflows are independent and shouldn't affect the outcome of each other. We only chain them to speed up the total run time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="dbx-issue.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18317iD036C28571F9963D/image-size/large?v=v2&amp;amp;px=999" role="button" title="dbx-issue.png" alt="dbx-issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to declare both previous tasks (wheel and job task) as &lt;EM&gt;&lt;STRONG&gt;depends_on&lt;/STRONG&gt;&lt;/EM&gt; in the configuration of the final task, but then I can't find the correct property for the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;run_if&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to set it to something like "at least one success".&lt;BR /&gt;We are using asset bundles and configure our workflow by using a YAML file. Unfortunately I only found some piece of documentation for JSON configurations and mostly UI approaches on how to solve it.&lt;/P&gt;&lt;P&gt;So, how do I find the correct values for configuring the &lt;STRONG&gt;&lt;EM&gt;run_if&lt;/EM&gt;&lt;/STRONG&gt; option?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 07:40:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/run-if-dependencies-configuration-within-yaml/m-p/125823#M47533</guid>
      <dc:creator>yvesbeutler</dc:creator>
      <dc:date>2025-07-21T07:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: run_if dependencies configuration within YAML</title>
      <link>https://community.databricks.com/t5/data-engineering/run-if-dependencies-configuration-within-yaml/m-p/125879#M47558</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/175519"&gt;@yvesbeutler&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;You can set &lt;EM&gt;run_if: AT_LEAST_ONE_SUCCESS&lt;/EM&gt; on the final task in your YAML configuration to ensure your workflow doesn't fail just because a dependent job fails. This way, the final task and the overall job will only fail if all its dependencies fail.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 15:04:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/run-if-dependencies-configuration-within-yaml/m-p/125879#M47558</guid>
      <dc:creator>Advika</dc:creator>
      <dc:date>2025-07-21T15:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: run_if dependencies configuration within YAML</title>
      <link>https://community.databricks.com/t5/data-engineering/run-if-dependencies-configuration-within-yaml/m-p/125881#M47560</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/175519"&gt;@yvesbeutler&lt;/a&gt;&amp;nbsp;here is a sample way I did&amp;nbsp; it using databricks asset bundles for notebook tasks&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;resources:
  jobs:
    chained_jobs:
      name: chained-jobs
      tasks:
        - task_key: main
          notebook_task:
            notebook_path: /Workspace/Users/sample/Deploying Data Assets
              Bundle with VSCode Add-in/pass_task_2
            source: WORKSPACE
        - task_key: failing_task
          depends_on:
            - task_key: main
          notebook_task:
            notebook_path: /Workspace/Users/sample/Deploying Data Assets
              Bundle with VSCode Add-in/fail_task_1
            source: WORKSPACE
        - task_key: pass_task-1
          depends_on:
            - task_key: main
          notebook_task:
            notebook_path: /Workspace/Users/sample/Deploying Data Assets
              Bundle with VSCode Add-in/pass_task_1
            source: WORKSPACE
        - task_key: pass_task-2
          depends_on:
            - task_key: pass_task-1
            - task_key: failing_task
          run_if: AT_LEAST_ONE_SUCCESS
          notebook_task:
            notebook_path: /Workspace/Users/sample/Deploying Data Assets
              Bundle with VSCode Add-in/pass_task_2
            source: WORKSPACE
      queue:
        enabled: true
      performance_target: STANDARD​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;It should still be similar to your use case, Kindly tell me if it works for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eniwoke_0-1753110787807.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18325iB66D8F7F81DD845A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eniwoke_0-1753110787807.png" alt="eniwoke_0-1753110787807.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 15:13:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/run-if-dependencies-configuration-within-yaml/m-p/125881#M47560</guid>
      <dc:creator>eniwoke</dc:creator>
      <dc:date>2025-07-21T15:13:35Z</dc:date>
    </item>
  </channel>
</rss>

