Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
cw88
Helper IV
Helper IV

Set parameter for scheduled run

Hi, 

is it possible to set pipeline parameter on a schedule? I want to schedule the same pipeline three times a day, every time with a different parameter. The parameter is used in a lookup activity to get the metadata for a for each loop.

Thanks!

1 ACCEPTED SOLUTION
ajarora
Microsoft Employee
Microsoft Employee

No you cant set parameter on a schedule.

But you can create 3 pipeline parameters, and use the right one conditionally based on an "if" activity.

View solution in original post

4 REPLIES 4
Yazdan
Helper I
Helper I

Hi, I have a solution for your requirement:

 

  1. Create a dictionary table in your Lakehouse or SQL DB and map each schedule run with the relevant parameter values.

  2. In your pipeline, use a Lookup activity to query this table.

  3. After the Lookup activity, add a Filter activity to filter the results by the current run time (you can catch it with @pipeline().TriggerTime) and get the relevant parameter values.

  4. Define Set Variable activities in the pipeline and assign these values to variables (ideally use the same names as your parameters for clarity).

  5. Use these variables instead of parameters everywhere in your pipeline.


If you also want a separate behavior when the pipeline is run manually instead of by schedule:

  • Add an If Condition activity before the above steps to check if the pipeline is running manually (use @pipeline().TriggerType).

  • If it’s manual, skip the dictionary lookup and directly set your variables with manual values.

  • Then use these variables in your pipeline logic.


This way you don’t need to duplicate pipelines or schedules—you centralize the parameter mapping in one place and control behavior dynamically.

ajarora
Microsoft Employee
Microsoft Employee

No you cant set parameter on a schedule.

But you can create 3 pipeline parameters, and use the right one conditionally based on an "if" activity.

Thanks for your answer!

Is there a plan to implement this feature in the future? it already limits the usage if the parameters cannot be set from outside (comparable to ssis packages)

ajarora
Microsoft Employee
Microsoft Employee

Not yet, but please vote for a new feature if it doesnt already exist.

https://ideas.fabric.microsoft.com/

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors