Reputation: 12575
I use SSIS 2016
. I have created a Package Part Control Flow
as you can see in this image :
The perpose of this Package Part Control Flow
is to have a loop on the all files in one folder and transfer all files to another folder.
I have a Foreach Loop Container
and a File System Task
.
I have created these variable
Then I have created two Flat File Connection Manager
:
Now I need to configure expressions
for Connection String
of each Flat File Connection Manager
.
But as you can see I don't have access to my variables.
I need to be able to configure my connection managers inside the Package Parts Control Flow
and then in package where I use this Package Parts Control Flow
I will pass the values of variables.
The way I would like send the value for variables of Package Parts Control Flow
.
Can I have an expression on ConnectionString
of Flat File Connection Manager
inside the Package Parts Control Flow
by using the variable?
Upvotes: 4
Views: 1120
Reputation: 37348
After reading multiple articles and users feedbacks.
Unfortunately, you cannot use dynamic connections with package parts.
Control flow Package parts has some limitations, which make it useless in many cases.
References
Upvotes: 3