Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I had a question about passing the parameters to the pipeline.
Solved! Go to Solution.
Hello @Ka13
I suggest you set up pipelines only with the required parameters.
Pipeline 1 parameters:
- Schema
- Table
Pipeline 2 parameters:
- Schema
- Table
- HireDate
- Fromdate
- ToDate
Pipeline 3 (the invokiing pipeline or the parent pipeline):
Insert two Invoke Pipeline activities.
Pipeline 3 parameters:
- Schema
- Table
- HireDate
- Fromdate
- ToDate
In the setting of each Invoke Pipeline activities, pass the pipeline3 parameters like so
Schema String @pipeline().parameters.Schema
HireDate String @{formatDateTime(pipeline().parameters.HireDate, 'yyyy-MM-dd')}
Hi @Ka13,
I agree with @pallavi_r, passing them into the first pipeline, and then having the first pipeline execute the second pipeline is a clean approach.
What could also be done is having a master "orchestration" pipeline that takes all the parameters, and then it runs the 3 pipelines only passing in what those pipelines need as parameters.
Proud to be a Super User! | |
Hello @Ka13
I suggest you set up pipelines only with the required parameters.
Pipeline 1 parameters:
- Schema
- Table
Pipeline 2 parameters:
- Schema
- Table
- HireDate
- Fromdate
- ToDate
Pipeline 3 (the invokiing pipeline or the parent pipeline):
Insert two Invoke Pipeline activities.
Pipeline 3 parameters:
- Schema
- Table
- HireDate
- Fromdate
- ToDate
In the setting of each Invoke Pipeline activities, pass the pipeline3 parameters like so
Schema String @pipeline().parameters.Schema
HireDate String @{formatDateTime(pipeline().parameters.HireDate, 'yyyy-MM-dd')}
Hi @Ka13
I would suggest to keep all the parameter related inputs (HireDate, fromDate, toDate) in Pipeline-1 itself along with schema and table names, pass it to Pipeline-2. Pipeline-2 will just do the copy data or any activity.
This will be cleaner approach with one point for all parameters and keeps the second pipeline more reusable for only copy.
If this post helps, please accept this as a solution. Appreciate your kudos.
Thanks,
pallavi_r
Thanks Pallavi
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 10 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |