Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pass SSIS variable to Process task

How to pass variables defined in SSIS as parameters to SSIS Process task that runs a bat file.

In the bat file the user name and password would be replaced with %1 argument and input will be passed from the script task that will receive input from a .NET front-end.

Please do help with screenshots if possible

enter image description here

Thanks

like image 738
Gallop Avatar asked Oct 23 '22 08:10

Gallop


1 Answers

In the script task, write the value to a SSIS variable.

In the Exec Process task, modify the Arguments expression, to pass the variable into the task

There is a screenshot on this thread How to execute a Process Task where the Executable path comes from a user Variable

like image 54
Pete Carter Avatar answered Oct 27 '22 11:10

Pete Carter