A script execution executes a script for each row of the input flow. For example, it can be used to create a log file, a mail or a text file related to the input flow.
-
Select the Script Execution tool in the palette, and create the action in the diagram.
-
Select the Data Flow tool, and draw a flow from the preceding step (a data input or action) to the script execution to initialize it with the incoming data structure columns.
-
Double-click the script execution symbol to open its property sheet, click the Script tab, select or enter a script language, and enter a script in the textbox.
-
[optional] Click the Data Structure Columns tab, and add, edit, reorder or delete columns as appropriate.
-
Click OK to save your changes and return to the diagram.