In your data stream, select the Script component.
When prompted to select a source, destination, or conversion, select the source.
Add your pre-populated variables to the CustomProperties.ReadOnlyVariables section of the Script tab.
Go to the "Inputs and outputs" section.
Add a column to the default output for each of your variables.
In your Script (if using C #) in the CreateNewOutputRows () section, put something similar to the following:
Output0Buffer.AddRow(); Output0Buffer.ContainerName = Variables.ContainerName; Output0Buffer.TaskName = Variables.TaskName; Output0Buffer.TaskStartDate = Variables.ContainerStartTime;
Save the script.
Connect your Script component to the target.
source share