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

Win a FREE 3 Day Ticket to FabCon Vienna. Apply now

Reply
amaaiia
Super User
Super User

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
Super User
Super User

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
v-cboorla-msft
Microsoft Employee
Microsoft Employee

Hi @amaaiia 

 

Glad to know your query got resolved.

Please continue using Microsoft Fabric Community for your further queries.

 

Thanks.

AndyDDC
Super User
Super User

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

 

Helpful resources

Announcements
August Fabric Update Carousel

Fabric Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.