<?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: How to Call Another Pipeline on Failure and Store Error Details in Lakehouse? in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4402073#M7036</link>
    <description>&lt;P&gt;Can anyone help me with this?&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2025 05:33:52 GMT</pubDate>
    <dc:creator>bhavya5903</dc:creator>
    <dc:date>2025-02-10T05:33:52Z</dc:date>
    <item>
      <title>How to Call Another Pipeline on Failure and Store Error Details in Lakehouse?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4396148#M7011</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;H3&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;I am working with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Microsoft Fabric Data Pipelines&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and need to implement a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;failure-handling mechanism.&lt;/STRONG&gt;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;&lt;BR /&gt;Scenario:&lt;/STRONG&gt;&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;I have a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;main pipeline&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with multiple activities (e.g., Copy Data, Set Variable, etc.).&lt;/LI&gt;&lt;LI&gt;If any activity fails, I want to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;trigger another pipeline&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(FailureHandlerPipeline).&lt;/LI&gt;&lt;LI&gt;I need to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;pass failure details dynamically&lt;/STRONG&gt;, including:&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;FailedActivityName&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;ErrorMessage&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;ErrorCode&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;PipelineName&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;FailureHandlerPipeline&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;should store these details in a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Lakehouse table&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for logging and troubleshooting.&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;&lt;STRONG&gt;Challenges:&lt;/STRONG&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;How do I dynamically capture failure details&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from multiple activities and pass them to the failure-handling pipeline?&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;What’s the best approach to store these details in Lakehouse&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;using a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;low-code&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;method?&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Can I handle multiple failures at the same time?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If multiple activities fail, will the failure-handling pipeline execute multiple times, or is there a way to batch the errors?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I appreciate any guidance, best practices, or alternative approaches!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Feb 2025 10:25:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4396148#M7011</guid>
      <dc:creator>bhavya5903</dc:creator>
      <dc:date>2025-02-05T10:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Another Pipeline on Failure and Store Error Details in Lakehouse?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4396185#M7012</link>
      <description>&lt;P&gt;please refer this blog :&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to manage error logging for multiple activities.&lt;/P&gt;
&lt;P&gt;You can use the combination of on skip, on completion and on failure dependencies to trigger another pipeline on failure as stated in the aboe blog.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can dynamically get the pipelinename, error messgae and error code via system variables but you cannot get the activity name dynamically&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 10:47:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4396185#M7012</guid>
      <dc:creator>NandanHegde</dc:creator>
      <dc:date>2025-02-05T10:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Another Pipeline on Failure and Store Error Details in Lakehouse?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4396417#M7013</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;FailureHandlerPipeline&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;should store these details in a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Lakehouse table&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;for logging and troubleshooting&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 13:16:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4396417#M7013</guid>
      <dc:creator>bhavya5903</dc:creator>
      <dc:date>2025-02-05T13:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Another Pipeline on Failure and Store Error Details in Lakehouse?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4402073#M7036</link>
      <description>&lt;P&gt;Can anyone help me with this?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 05:33:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4402073#M7036</guid>
      <dc:creator>bhavya5903</dc:creator>
      <dc:date>2025-02-10T05:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Call Another Pipeline on Failure and Store Error Details in Lakehouse?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4402117#M7037</link>
      <description>&lt;P&gt;Sorry to have missed out on this thread.&lt;/P&gt;
&lt;P&gt;You can refer the below blog wherein you can copy the varibles/activity outpput into lakehouse :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://datasharkx.wordpress.com/2023/04/20/copying-variable-parameter-into-sink-azure-blob-storage-azure-database-etc-via-data-factory-synapse-pipeline/" target="_blank"&gt;https://datasharkx.wordpress.com/2023/04/20/copying-variable-parameter-into-sink-azure-blob-storage-azure-database-etc-via-data-factory-synapse-pipeline/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 05:58:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/How-to-Call-Another-Pipeline-on-Failure-and-Store-Error-Details/m-p/4402117#M7037</guid>
      <dc:creator>NandanHegde</dc:creator>
      <dc:date>2025-02-10T05:58:32Z</dc:date>
    </item>
  </channel>
</rss>

