<?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: Microsoft Fabric Prevent multiple pipeline triggers when multiple files arrive simultaneously. in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4909710#M14315</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1483173"&gt;@imtiazali&lt;/a&gt;&amp;nbsp;, Thank you for reaching out to the Microsoft Community Forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We find the answers shared by&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1445078"&gt;@deborshi_nag&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/290706"&gt;@nielsvdc&lt;/a&gt;&amp;nbsp;are appropriate. Can you please confirm if they worked for you. It will help others with similar issues find the answer easily.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1445078"&gt;@deborshi_nag&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/290706"&gt;@nielsvdc&lt;/a&gt;&amp;nbsp; for your valuable responses.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Dec 2025 09:18:28 GMT</pubDate>
    <dc:creator>v-hashadapu</dc:creator>
    <dc:date>2025-12-29T09:18:28Z</dc:date>
    <item>
      <title>Microsoft Fabric Prevent multiple pipeline triggers when multiple files arrive simultaneously.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4908688#M14277</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with Microsoft Fabric event-based triggers in a data pipeline scenario.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, when multiple files arrive at the same time in the source location, Fabric creates one event per file, which causes the pipeline to be triggered multiple times. Each pipeline run processes a single file independently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, my business requirement is slightly different:&lt;/P&gt;&lt;P&gt;I want the pipeline to trigger only once&lt;/P&gt;&lt;P&gt;Then process all newly arrived files together in a single execution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to understand:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any native functionality in Microsoft Fabric to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Group multiple file-created events into a single trigger, or&lt;/P&gt;&lt;P&gt;Prevent multiple pipeline runs when several files arrive simultaneously?&lt;/P&gt;&lt;P&gt;If native support is not available, what is the recommended or best-practice approach in Fabric to handle this use case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example: batching logic, scheduling pipelines, file existence checks, or any design pattern commonly used by the community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance, architectural suggestions, or official recommendations would be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your support.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Dec 2025 05:06:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4908688#M14277</guid>
      <dc:creator>imtiazali</dc:creator>
      <dc:date>2025-12-26T05:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric Prevent multiple pipeline triggers when multiple files arrive simultaneously.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4908816#M14282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1483173"&gt;@imtiazali&lt;/a&gt;,&amp;nbsp;currently in Fabric&amp;nbsp;event-based triggers&amp;nbsp;are per event. A&amp;nbsp;run is created for each file event that matches your filter. There isn’t a native "group multiple file-created events into one" trigger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some options you can consider.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Schedule trigger every x minutes&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Maybe not what you are looking for, but you can schedule the pipeline to run every 1-5 minutes between a given time frame and process all the available files. If the processing of files takes longer than the interval, move the files to a processing folder first&amp;nbsp;to ensure idempotency.&lt;/LI&gt;&lt;LI&gt;The trade-off is that you will still see runs for all files, but that do nothing, because there are now files left to process.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Concurrency = 1+"first-file" guard&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Leave the event trigger enabled, set pipeline concurrency to 1 so only one run executes at a time. All other trigger events are queued and processed after the first run.&lt;/LI&gt;&lt;LI&gt;In the pipeline implement a guard/lease with a check a lock file or control table.&lt;UL&gt;&lt;LI&gt;If no active batch, acquire the lock, list all new files, process them together, release the lock.&lt;/LI&gt;&lt;LI&gt;If another run is already active (or just completed the batch), skip and succeed.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV&gt;Multiple triggers can fire, but only one run actually performs work; others become quick no‑ops.&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;Optionally, add a Wait activity to the pipeline for waiting until all files have been written to location that you are monitoring.&lt;/LI&gt;&lt;LI&gt;The trade-off is that you will still see runs for all files, but that do nothing, because there are now files left to process.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Use Data Activitor for files on OneLake/Blob?&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;I haven't played around with this option yet and I currently don't have time to try it, but maybe it could work.&lt;/LI&gt;&lt;LI&gt;Configure OneLake/Blob events in Data Activator to start a pipeline when an event happens. For Blob storage you might need to configure Azure Event Hub.&lt;/LI&gt;&lt;LI&gt;Configure the&amp;nbsp;&lt;STRONG&gt;Wait time for late-arriving events&lt;/STRONG&gt; option to wait for all the data to be available. Play around with finding the correct condition.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope this helps. If so, please give kudos ‌‌&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; and mark as Accepted Solution ‌‌&lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt; to help others. If you resolved your question, let us know what worked for you.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Dec 2025 09:15:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4908816#M14282</guid>
      <dc:creator>nielsvdc</dc:creator>
      <dc:date>2025-12-26T09:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric Prevent multiple pipeline triggers when multiple files arrive simultaneously.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4909224#M14292</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1483173"&gt;@imtiazali&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Native “group/aggregate events into one trigger” isn’t available today. Fabric’s event-based triggers (via Real‑Time hub/Activator) create a separate event—and therefore a separate pipeline run—for each file event that matches your filter.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Best‑practice is to design for batching inside your pipeline (or via a small orchestrator pattern) so &lt;EM&gt;only one run does the work&lt;/EM&gt; and any concurrently triggered runs quickly no‑op.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can use the following pattern:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Allow event triggers to fire, but ensure only one pipeline run actually processes the batch. Others detect the lock and exit fast.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;How to implement:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In Pipeline settings, set Concurrency to 1 so runs queue; only one run is active. (This setting is available in ADF/Synapse and behaves similarly in Fabric.)&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;At the start of the pipeline:&lt;UL&gt;&lt;LI&gt;Try to acquire a lease/lock, e.g., write a lock file in a control folder or set a flag row in a control table (Lakehouse or SQL). If a lock exists → skip (return success/no‑op).&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Once locked:&lt;UL&gt;&lt;LI&gt;Wait briefly (e.g., 30–120 seconds) to allow the full file burst to land.&lt;/LI&gt;&lt;LI&gt;List files in the inbound folder, build a batch, and process them together.&lt;/LI&gt;&lt;LI&gt;Move/archive processed files (so subsequent queued runs see “nothing new” and exit).&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Release the lock.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Here's the control flow you can use in your Fabric pipeline:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Get/Set Lock&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If Condition: lock_exists() → true → &lt;EM&gt;Set variable “SkippedDueToLock” = true&lt;/EM&gt; → End&lt;/LI&gt;&lt;LI&gt;Else → Create lock (e.g., write /control/ingest.lock or INSERT INTO control_batch(status='running'))&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Wait (optional)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Wait activity: 60–120 seconds (tune to your source uploader behavior)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Enumerate batch&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Get Metadata/List → enumerate /raw/inbound/YYYY/MM/DD&lt;/LI&gt;&lt;LI&gt;Filter to only new files (since last watermark or not in archive)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Process&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ForEach files → copy/transform (or load to staging and Spark job to batch merge)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Archive + Watermark&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Move files to /raw/archive/...&lt;/LI&gt;&lt;LI&gt;Update control table last_processed_timestamp / last_processed_file&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Release lock&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Delete /control/ingest.lock or set control row status='completed'&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;If this helps please mark this as a solution.&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 27 Dec 2025 15:45:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4909224#M14292</guid>
      <dc:creator>deborshi_nag</dc:creator>
      <dc:date>2025-12-27T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric Prevent multiple pipeline triggers when multiple files arrive simultaneously.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4909710#M14315</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1483173"&gt;@imtiazali&lt;/a&gt;&amp;nbsp;, Thank you for reaching out to the Microsoft Community Forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We find the answers shared by&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1445078"&gt;@deborshi_nag&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/290706"&gt;@nielsvdc&lt;/a&gt;&amp;nbsp;are appropriate. Can you please confirm if they worked for you. It will help others with similar issues find the answer easily.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1445078"&gt;@deborshi_nag&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/290706"&gt;@nielsvdc&lt;/a&gt;&amp;nbsp; for your valuable responses.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 09:18:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4909710#M14315</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2025-12-29T09:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric Prevent multiple pipeline triggers when multiple files arrive simultaneously.</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4911526#M14408</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1483173"&gt;@imtiazali&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;SPAN data-teams="true"&gt;Hope you are doing well. Kindly let us know if the issue has been resolved or if further assistance is needed. Your input could be helpful to others in the community.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 11:38:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Microsoft-Fabric-Prevent-multiple-pipeline-triggers-when/m-p/4911526#M14408</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2026-01-02T11:38:24Z</dc:date>
    </item>
  </channel>
</rss>

