<?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 Pipeline doesn't execute On Error in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-doesn-t-execute-On-Error/m-p/4843568#M12740</link>
    <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My pipeline is not running the notebook that has to run in case one of my activities fail. It stops just after the activity that has failed. I don't know if it is related but all the 3 notebooks run within the same Session Tag&lt;BR /&gt;Does anyone know why?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lsabetta_0-1759761312533.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1301859i9B7A861B67E49F55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lsabetta_0-1759761312533.png" alt="lsabetta_0-1759761312533.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Oct 2025 15:03:15 GMT</pubDate>
    <dc:creator>lsabetta</dc:creator>
    <dc:date>2025-10-06T15:03:15Z</dc:date>
    <item>
      <title>Pipeline doesn't execute On Error</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-doesn-t-execute-On-Error/m-p/4843568#M12740</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My pipeline is not running the notebook that has to run in case one of my activities fail. It stops just after the activity that has failed. I don't know if it is related but all the 3 notebooks run within the same Session Tag&lt;BR /&gt;Does anyone know why?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lsabetta_0-1759761312533.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1301859i9B7A861B67E49F55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lsabetta_0-1759761312533.png" alt="lsabetta_0-1759761312533.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 15:03:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-doesn-t-execute-On-Error/m-p/4843568#M12740</guid>
      <dc:creator>lsabetta</dc:creator>
      <dc:date>2025-10-06T15:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pipeline doesn't execute On Error</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-doesn-t-execute-On-Error/m-p/4843655#M12742</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1294442"&gt;@lsabetta&lt;/a&gt;&amp;nbsp;could you provide the output from a failed activity? It's also not obvious from your screenshot which activity actually failed.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 16:04:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-doesn-t-execute-On-Error/m-p/4843655#M12742</guid>
      <dc:creator>apturlov</dc:creator>
      <dc:date>2025-10-06T16:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pipeline doesn't execute On Error</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-doesn-t-execute-On-Error/m-p/4843915#M12750</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1294442"&gt;@lsabetta&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The connections in a pipeline are treated as AND connections, so your nb_finish_error won't run unless all 4 other activities fail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the behaviour you're seeing is expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To have OR logic, you will need to use variables and build some custom logic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 01:38:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-doesn-t-execute-On-Error/m-p/4843915#M12750</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-10-07T01:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pipeline doesn't execute On Error</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-doesn-t-execute-On-Error/m-p/4843941#M12752</link>
      <description>&lt;P&gt;Sadly the "on fail"&amp;nbsp; is an AND and not an OR. In your case the notebook will only trigger if all parent activities fail and not just one of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means you will have to create a notebook for each fail activity, which is indeed a pain if you have many activities in one pipeline. We created something similar, but with using the outlook activity to send an email if a specific step fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked at using a notebook to just look at the whole pipeline and alert if the pipeline itself fails, but there are 2 downsides to that.&lt;BR /&gt;&lt;BR /&gt;1: It won't give any detail, but the alert would tell you to go look at the log, since something is wrong&lt;/P&gt;&lt;P&gt;2: I would need to set&amp;nbsp; up an api-key etc, which I haven't done yet, and it would create more admin work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this is of use to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;P&gt;(If my answer is helpful give it a kudo and/or mark it as a solution)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 02:52:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-doesn-t-execute-On-Error/m-p/4843941#M12752</guid>
      <dc:creator>smeetsh</dc:creator>
      <dc:date>2025-10-07T02:52:59Z</dc:date>
    </item>
  </channel>
</rss>

