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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
amaaiia
Contributor III

Use Script parameters in Script activitie in Data Pipeline

I am using an Script activitie inside a Data Pipeline to make a SELECT statement, passing the table as parameters as follows:

amaaiia_1-1709997042292.png

 

But when executing the Pipeline I get the following error:

amaaiia_0-1709996976324.png

 

I've been able to pass Script parameters in other queries to WHERE clause (i.e. field1=@field_value), but I'm having troubles for field names.

 

1 ACCEPTED SOLUTION
AndyDDC
Valued Contributor

Hi @amaaiia I'm not sure if object names are supported in the script activity parameters.  You could use the "dynamics expressions" and add the item to the script instead.  In the example beloe I'm using parameters, but you can use items as well.

 

AndyDDC_0-1710070449045.png

 

View solution in original post

2 REPLIES 2
AndyDDC
Valued Contributor

Hi @amaaiia I'm not sure if object names are supported in the script activity parameters.  You could use the "dynamics expressions" and add the item to the script instead.  In the example beloe I'm using parameters, but you can use items as well.

 

AndyDDC_0-1710070449045.png

 

v-cboorla-msft
Honored Contributor II

Hi @amaaiia 

 

Glad to know your query got resolved.

Please continue using Microsoft Fabric Community for your further queries.

 

Thanks.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Free Fabric Certifications

Free Fabric Certifications

Get Fabric certified for free! Don't miss your chance.

January Fabric Update Carousel

Fabric Monthly Update - January 2026

Check out the January 2026 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.

Users online (245)