<?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: Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838777#M12613</link>
    <description>&lt;P&gt;The schedule ID is currently not available from the system variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An alternative way would be to create parent pipelines that execute the pipeline that you want to run. Then schedule each parent pipeline with a different schedule. You can then detect which parent pipeline has executed the child pipeline or use pipeline parameters pass a value you want to use for filtering.&lt;/P&gt;&lt;P&gt;But, ofcourse, this would create to much unnecessary overhead of items.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps. If so, please give a 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;.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Sep 2025 08:06:29 GMT</pubDate>
    <dc:creator>nielsvdc</dc:creator>
    <dc:date>2025-09-30T08:06:29Z</dc:date>
    <item>
      <title>Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838730#M12609</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m trying to access the &lt;STRONG&gt;unique Schedule ID&lt;/STRONG&gt; of a pipeline run in Microsoft Fabric. Each time a pipeline is scheduled, it gets a unique Schedule ID. I want to use this ID at runtime to identify which schedule triggered the current run and make decisions in pipeline steps based on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using:&lt;/P&gt;&lt;P&gt;@pipeline().TriggerId&lt;/P&gt;&lt;P&gt;…but it doesn’t work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to access the &lt;STRONG&gt;active schedule&lt;/STRONG&gt; that triggered the current pipeline run during runtime? Any guidance or examples would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 07:08:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838730#M12609</guid>
      <dc:creator>Yazdan</dc:creator>
      <dc:date>2025-09-30T07:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838768#M12611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1272584" data-lia-user-login="Yazdan" class="lia-mention lia-mention-user"&gt;Yazdan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should not ask for the UUID odf schedule run. Reason: Microsoft Fabric is a SaaS ( Software as a Service ). This is not currently possible.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 07:48:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838768#M12611</guid>
      <dc:creator>Vaibhavi_Patel</dc:creator>
      <dc:date>2025-09-30T07:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838777#M12613</link>
      <description>&lt;P&gt;The schedule ID is currently not available from the system variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An alternative way would be to create parent pipelines that execute the pipeline that you want to run. Then schedule each parent pipeline with a different schedule. You can then detect which parent pipeline has executed the child pipeline or use pipeline parameters pass a value you want to use for filtering.&lt;/P&gt;&lt;P&gt;But, ofcourse, this would create to much unnecessary overhead of items.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps. If so, please give a 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;.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 08:06:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838777#M12613</guid>
      <dc:creator>nielsvdc</dc:creator>
      <dc:date>2025-09-30T08:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838779#M12614</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1364665" data-lia-user-login="Vaibhavi_Patel" class="lia-mention lia-mention-user"&gt;Vaibhavi_Patel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I understand that Fabric does not expose a UUID for scheduled runs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an &lt;STRONG&gt;alternative way&lt;/STRONG&gt; to achieve this? My requirement is to &lt;STRONG&gt;recognize which scheduled pipeline triggered the run at runtime&lt;/STRONG&gt;, so that I can take different actions or choose the correct next steps based on the schedule that triggered the pipeline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I need to distinguish between multiple scheduled runs and apply logic accordingly. Any recommended approach or best practice for this scenario would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Yazdan&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 08:04:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838779#M12614</guid>
      <dc:creator>Yazdan</dc:creator>
      <dc:date>2025-09-30T08:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838782#M12615</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion!&lt;/P&gt;&lt;P&gt;Yes, this alternative would work, but I have &lt;STRONG&gt;more than 12 schedules&lt;/STRONG&gt;, and using this method would create &lt;STRONG&gt;a lot of overhead&lt;/STRONG&gt; due to defining so many parent pipelines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate your workaround and guidance though. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Yazdan&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 08:06:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838782#M12615</guid>
      <dc:creator>Yazdan</dc:creator>
      <dc:date>2025-09-30T08:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838793#M12616</link>
      <description>&lt;P&gt;When you have more than 12 schedules, you might want to rethink your schedules and simplify them. You could also add an if-else or switch activity to your pipeline, to filter out certain hours you might not want the pipeline to execute stuff.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added an idea that you can vote on:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Make-quot-Triggered-by-schedule-ID-quot-available-through-system/idi-p/4838790#M163998" target="_blank"&gt;Make "Triggered by schedule ID" available through ... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps. If so, please give a 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;.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 08:20:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838793#M12616</guid>
      <dc:creator>nielsvdc</dc:creator>
      <dc:date>2025-09-30T08:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838974#M12619</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1272584" data-lia-user-login="Yazdan" class="lia-mention lia-mention-user"&gt;Yazdan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;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;The Schedule ID is not exposed at runtime via system variables like @pipeline().TriggerId, only 20 schedules can be created and maintained per item, including those created via API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try below alternative workarounds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. When creating a schedule, pass a unique parameter like scheduleName: "DailyRun_12AM" to the pipeline. You can then access this parameter at runtime using "JSON@pipeline().parameters.scheduleNameShow" . you don’t need to rely on the Schedule ID itself, but you still know which schedule triggered the run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Create a metadata table in Lakehouse or SQL DB that maps schedule names to logic. At runtime, query this table using the passed parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. You can manually pass a parameter like TriggerSource: "DailyRun" when configuring the schedule. Then access it inside the pipeline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently t&lt;SPAN&gt;his feature is currently on the roadmap for future updates.&amp;nbsp;&lt;/SPAN&gt;Already an idea has raised in idea forum. Please refer below link.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Pass-Parameters-in-Pipeline-Schedule-Trigger/idi-p/4497093" target="_blank"&gt;Pass Parameters in Pipeline Schedule/Trigger - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer below links.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Pipelines/Pass-Parameters-in-Pipeline-Schedule-Trigger/m-p/4766818" target="_blank"&gt;Solved: Re: Pass Parameters in Pipeline Schedule/Trigger - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Pipelines/Set-parameter-for-scheduled-run/m-p/3401838" target="_blank"&gt;Solved: Re: Set parameter for scheduled run - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 11:47:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4838974#M12619</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-09-30T11:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4839456#M12638</link>
      <description>&lt;P&gt;Hi, thanks for your reply.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yea I already tried this way as below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Create a dictionary table in the Lakehouse or SQL DB and map each schedule run with the relevant parameter values.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the pipeline, use a Lookup activity to query this table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;After the Lookup activity, add a Filter activity to filter the results by the current run time (can be caught with @pipeline().TriggerTime) and get the relevant parameter values.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Define Set Variable activities in the pipeline and assign these values to variables (ideally with the same names as the parameters for clarity).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Use these variables instead of parameters everywhere in the pipeline.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For separate behavior when the pipeline is run manually instead of by schedule:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Add an If Condition activity before the above steps to check if the pipeline is running manually (using @pipeline().TriggerType).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If it’s manual, skip the dictionary lookup and directly set variables with manual values.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Then use these variables in the pipeline logic.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;But it has some problems:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The only way to find and select the schedule in the dictionary table is by querying with the pipeline schedule time for each run. But this time is not always exact—it has a tolerance of a few seconds—so a time range has to be defined in the dictionary table instead of an exact match.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I also want to have separate behavior when the pipeline is run manually and skip these steps. I used @pipeline().TriggerType to detect if the pipeline is running manually and make a different decision, but this expression always returns “Manual”. I have already reported this issue here:&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/Unable-to-Detect-Scheduled-Trigger-Inside-Pipeline-pipeline/m-p/4837857#M12580" target="_new" rel="noopener"&gt;Unable to Detect Scheduled Trigger Inside Pipeline&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 30 Sep 2025 23:54:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4839456#M12638</guid>
      <dc:creator>Yazdan</dc:creator>
      <dc:date>2025-09-30T23:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Active Schedule ID at Runtime in Microsoft Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4839547#M12644</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1272584" data-lia-user-login="Yazdan" class="lia-mention lia-mention-user"&gt;Yazdan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for the update. As you mentioned in your previous response, you already reported this issue by creating another thread in this community. And thank you for taking the time to submit the idea, in the ideas forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Expose-actual-pipeline-trigger-type-Manual-vs-Schedule-as-a/idi-p/4838394#:~:text=Fabric%20Ideas-,Expose%20actual%20pipeline%20trigger%20type%20(Manual%20vs%20Schedule)%20as%20a%20system%20property,-Idea%20Options" target="_blank"&gt;Expose actual pipeline trigger type (Manual vs Sch... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Your input plays an important role in shaping future improvements to the Microsoft Fabric experience.&lt;/P&gt;
&lt;P&gt;It helps other community members with similar needs find answers more easily but also makes your idea easier to discover and upvote increasing the chances for the Microsoft product team to review and potentially implement it in future updates.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you again for contributing to the community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 05:15:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Accessing-Active-Schedule-ID-at-Runtime-in-Microsoft-Fabric/m-p/4839547#M12644</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-10-01T05:15:34Z</dc:date>
    </item>
  </channel>
</rss>

