<?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: Email on Error in Pipeline in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/4077048#M4863</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168297" data-lia-user-login="bcdobbs" class="lia-mention lia-mention-user"&gt;bcdobbs&lt;/a&gt; I belive this would be possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to declare a global variable which is an empty array.&lt;/P&gt;
&lt;P&gt;Then you need to create an Append Variable activity that you would connect to each of the activities in the pipeline and you would keep on appending the succees/fail status in the append variable. At t-1 step, you would create a if condition to check if the collection (array) contains any fail using contains. If yes, send an email. I did not give it a try though. Let me know if it works.&lt;/P&gt;</description>
    <pubDate>Sat, 03 Aug 2024 05:19:07 GMT</pubDate>
    <dc:creator>smpa01</dc:creator>
    <dc:date>2024-08-03T05:19:07Z</dc:date>
    <item>
      <title>Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568087#M1314</link>
      <description>&lt;P&gt;I've built a pipeline that runs two notebooks and I'm wanting it to email on failure.&lt;/P&gt;
&lt;P&gt;It looks like:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;With the Send Error Email connected on the fail nodes.&lt;/P&gt;
&lt;P&gt;However it never triggers the outlook task:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Any suggestion on what I'm doing wrong or is there a better way to handle this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 09:40:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568087#M1314</guid>
      <dc:creator>bcdobbs</dc:creator>
      <dc:date>2023-12-05T09:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568138#M1317</link>
      <description>&lt;P&gt;Having looked at the JSON for the pipeline I now realise the way I'd built it would only trigger an error if both notebooks failed which couldn't happen in that setup.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I've added separate notification blocks and it now works.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is there however a cleaner way of doing this? Eg trigger an email on any failure anywhere in the pipeline?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 09:57:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568138#M1317</guid>
      <dc:creator>bcdobbs</dc:creator>
      <dc:date>2023-12-05T09:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568182#M1318</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168297" data-lia-user-login="bcdobbs" class="lia-mention lia-mention-user"&gt;bcdobbs&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;&lt;BR /&gt;As I tried to repro your scenario I have noticed this.&lt;BR /&gt;&lt;BR /&gt;Case 1: Every thing worked well&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Case 2: I can find the same issue you are facing&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;For time being try to link to only one Notebook Activity on failure.&lt;BR /&gt;&lt;BR /&gt;In meantime I will check with internal to get some information on this behaviour.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 10:22:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568182#M1318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-05T10:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568312#M1319</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;You right fully identified the cause that the email would be triggered only if both the notebook activities would fail as the expressions are AND scenario and that would never occur as the 2nd notebook would be trigerred only with the success of the 1st one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So as a solution, you can have seperate notifications per activity but there is only a limitaion of 40 activities per pipeline.&lt;/P&gt;&lt;P&gt;So below blog though ADF related would have the same concpets for Fabric:&lt;/P&gt;&lt;P&gt;&lt;A href="https://datasharkx.wordpress.com/2021/08/19/error-logging-and-the-art-of-avoiding-redundant-activities-in-azure-data-factory/" target="_blank"&gt;https://datasharkx.wordpress.com/2021/08/19/error-logging-and-the-art-of-avoiding-redundant-activities-in-azure-data-factory/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which would be a cleaner way&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 11:40:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568312#M1319</guid>
      <dc:creator>NandanHegde</dc:creator>
      <dc:date>2023-12-05T11:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568686#M1321</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226550" data-lia-user-login="NandanHegde" class="lia-mention lia-mention-user"&gt;NandanHegde&lt;/a&gt;&amp;nbsp;got it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;It looks like we don't have any issue with data factory, it is considered as a AND operator, not a OR operator.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168297" data-lia-user-login="bcdobbs" class="lia-mention lia-mention-user"&gt;bcdobbs&lt;/a&gt;&amp;nbsp; I was able to trigger an email by creating a pipeline design like above.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 14:45:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3568686#M1321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-05T14:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3572159#M1340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168297" data-lia-user-login="bcdobbs" class="lia-mention lia-mention-user"&gt;bcdobbs&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven’t heard from you on the last response and was just checking back to see if your query was answered.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Otherwise, will respond back with the more details and we will try to help .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 10:08:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3572159#M1340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-07T10:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3577349#M1368</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168297" data-lia-user-login="bcdobbs" class="lia-mention lia-mention-user"&gt;bcdobbs&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven’t heard from you on the last response and was just checking back to see if your query was answered.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Otherwise, will respond back with the more details and we will try to help .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 10:41:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3577349#M1368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-11T10:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3595944#M1441</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168297" data-lia-user-login="bcdobbs" class="lia-mention lia-mention-user"&gt;bcdobbs&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any queries w.r.t creating a flow within the pipelines ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 08:37:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3595944#M1441</guid>
      <dc:creator>NandanHegde</dc:creator>
      <dc:date>2023-12-21T08:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3850572#M2721</link>
      <description>&lt;P&gt;I was checking that out myself before stumbling upon this community thread as it is "an old friend from data factory" -&amp;gt; all "inbound" constraints are combined AND so a mulitple "on failure" from different activities will never run.&lt;/P&gt;&lt;P&gt;Our workaround, as a "sequence container" is also not available, is to use a sub pipeline returning in case of a failure in any activity a "on failure" from the "invoke pipeline" activity or as kind of "dirty hack" an "if condition" as sequence having a "always true" condition and grouping activites...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:55:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/3850572#M2721</guid>
      <dc:creator>S_Rahlf</dc:creator>
      <dc:date>2024-04-18T15:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/4069628#M4798</link>
      <description>&lt;P&gt;The cleaner solution would be to wrap your pipeline within another pipeline, using the Invoke Pipeline activity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create your pipeline without any notification activities.&lt;/LI&gt;&lt;LI&gt;Create a second empty pipeline, and add Invoke Pipeline to call your first pipeline.&lt;/LI&gt;&lt;LI&gt;Add an Outlook activity to the "On fail" node of the Invoke Pipeline activity.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This will trigger the email if any part of your inner pipeline fails.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 16:58:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/4069628#M4798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-30T16:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Email on Error in Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/4077048#M4863</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="168297" data-lia-user-login="bcdobbs" class="lia-mention lia-mention-user"&gt;bcdobbs&lt;/a&gt; I belive this would be possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to declare a global variable which is an empty array.&lt;/P&gt;
&lt;P&gt;Then you need to create an Append Variable activity that you would connect to each of the activities in the pipeline and you would keep on appending the succees/fail status in the append variable. At t-1 step, you would create a if condition to check if the collection (array) contains any fail using contains. If yes, send an email. I did not give it a try though. Let me know if it works.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 05:19:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Email-on-Error-in-Pipeline/m-p/4077048#M4863</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-08-03T05:19:07Z</dc:date>
    </item>
  </channel>
</rss>

