<?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: Get Pipeline Run Status in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Get-Pipeline-Run-Status/m-p/4110698#M5059</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while I was trying this rest api , I am getting response 200 but it is returning empty list as output any idea why am I getting this!?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2024 07:11:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-08-23T07:11:52Z</dc:date>
    <item>
      <title>Get Pipeline Run Status</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Get-Pipeline-Run-Status/m-p/4104052#M5008</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a pipeline that imports data from on prem sources using the copy data activity.&lt;/P&gt;&lt;P&gt;I log the source as running in order to prevent it from being picked up again in the next run (parallel pipeline executions) however if the pipeline is cancelled it wont recover from this - if it fails I can log the failure and retry but I can't log a cancelled run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I be able to log when a run is cancelled or how can I get a list of past runs and the status of those runs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that you can use the fabric APIs to get the status of a run, if you know what the pipeline run id was:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://api.fabric.microsoft.com/v1/workspaces/" target="_blank" rel="noopener"&gt;https://api.fabric.microsoft.com/v1/workspaces/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;workspaceid&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;/items/&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;pipelineid&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;/jobs/instances/&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;pipelinerunid&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;How can I get a list of historical pipeline runs and their statuses?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Matthew&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Aug 2024 10:35:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Get-Pipeline-Run-Status/m-p/4104052#M5008</guid>
      <dc:creator>Matthew_G</dc:creator>
      <dc:date>2024-08-16T10:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get Pipeline Run Status</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Get-Pipeline-Run-Status/m-p/4106324#M5021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="650076" data-lia-user-login="Matthew_G" class="lia-mention lia-mention-user"&gt;Matthew_G&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use below rest api to get query activity runs record.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POST https://api.fabric.microsoft.com/v1/workspaces/&amp;lt;your WS Id&amp;gt;/datapipelines/pipelineruns/&amp;lt;job id&amp;gt;/queryactivityruns&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more details, you can refer to below document:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-rest-api" target="_blank"&gt;Fabric data pipeline public REST API (Preview) - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Adamk Kong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 07:13:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Get-Pipeline-Run-Status/m-p/4106324#M5021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T07:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get Pipeline Run Status</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Get-Pipeline-Run-Status/m-p/4110698#M5059</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while I was trying this rest api , I am getting response 200 but it is returning empty list as output any idea why am I getting this!?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 07:11:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Get-Pipeline-Run-Status/m-p/4110698#M5059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-23T07:11:52Z</dc:date>
    </item>
  </channel>
</rss>

