<?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: Job Notifications specifically on Succeeded with Failures in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/job-notifications-specifically-on-succeeded-with-failures/m-p/133445#M4135</link>
    <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Databricks does not provide a direct way to distinguish or send notifications specifically for a "Succeeded with failures" state at the job level—the job is classified as "Success" even when some upstream tasks have failed, if the last (leaf) task is successful due to the "ALL done" dependency setting. This is a limit in their notification system, which only allows alerting for "Success" or "Failure" but not for this nuanced scenario.&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Job Status Logic and Leaf Tasks&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;The overall job status is determined by the outcome of the leaf tasks (those without downstream dependencies). If a final task runs on an "ALL done" basis and succeeds, the whole job is labeled as "Success" even if other tasks failed.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;This logic means that any task failures upstream only trigger notifications if they are themselves leaf tasks, or if the overall state is "Failure" due to no following successful task.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Notification Workarounds&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;To detect jobs that have succeeded with some failures, configure individual task-level notifications for "Failure" rather than relying solely on job-level notifications. This way, a failure at any task will trigger an alert, regardless of the job's eventual "Success" state.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Alternatively, design an explicit "aggregator" task at the end that checks the state of upstream tasks (via APIs or by writing status flags to a storage location), and fails itself if any upstream tasks failed. This will push the job into a fail state and allow for traditional "Failure" notifications to be triggered.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 01 Oct 2025 12:58:04 GMT</pubDate>
    <dc:creator>mark_ott</dc:creator>
    <dc:date>2025-10-01T12:58:04Z</dc:date>
    <item>
      <title>Job Notifications specifically on Succeeded with Failures</title>
      <link>https://community.databricks.com/t5/administration-architecture/job-notifications-specifically-on-succeeded-with-failures/m-p/133365#M4127</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have a set of jobs that always execute the last task regardless of whether the previous ones failed or not (using the ‘ALL done’ execution dependency).&lt;BR /&gt;When moving to production and wanting to enable notifications, there is no option to notify on ‘Succeeded with failures’, only “Success” or ‘Failure’.&lt;BR /&gt;I have been checking and this is because it identifies it as ‘Success’, but is there any way to distinguish it?&lt;/P&gt;&lt;P&gt;In the end, activating on failure and success if everything goes well overloads notifications and there is a risk of not checking it.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 11:43:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/job-notifications-specifically-on-succeeded-with-failures/m-p/133365#M4127</guid>
      <dc:creator>juan_maedo</dc:creator>
      <dc:date>2025-09-30T11:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Job Notifications specifically on Succeeded with Failures</title>
      <link>https://community.databricks.com/t5/administration-architecture/job-notifications-specifically-on-succeeded-with-failures/m-p/133445#M4135</link>
      <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Databricks does not provide a direct way to distinguish or send notifications specifically for a "Succeeded with failures" state at the job level—the job is classified as "Success" even when some upstream tasks have failed, if the last (leaf) task is successful due to the "ALL done" dependency setting. This is a limit in their notification system, which only allows alerting for "Success" or "Failure" but not for this nuanced scenario.&lt;/P&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Job Status Logic and Leaf Tasks&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;The overall job status is determined by the outcome of the leaf tasks (those without downstream dependencies). If a final task runs on an "ALL done" basis and succeeds, the whole job is labeled as "Success" even if other tasks failed.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;This logic means that any task failures upstream only trigger notifications if they are themselves leaf tasks, or if the overall state is "Failure" due to no following successful task.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H2 class="mb-2 mt-4 font-display font-semimedium text-base first:mt-0"&gt;Notification Workarounds&lt;/H2&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;To detect jobs that have succeeded with some failures, configure individual task-level notifications for "Failure" rather than relying solely on job-level notifications. This way, a failure at any task will trigger an alert, regardless of the job's eventual "Success" state.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Alternatively, design an explicit "aggregator" task at the end that checks the state of upstream tasks (via APIs or by writing status flags to a storage location), and fails itself if any upstream tasks failed. This will push the job into a fail state and allow for traditional "Failure" notifications to be triggered.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 01 Oct 2025 12:58:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/job-notifications-specifically-on-succeeded-with-failures/m-p/133445#M4135</guid>
      <dc:creator>mark_ott</dc:creator>
      <dc:date>2025-10-01T12:58:04Z</dc:date>
    </item>
  </channel>
</rss>

