The Loop File Contents action is used to loop through a delimited text file and populate a variable with the current text string. It combines the Read From File and the Loop List actions into a single action. Any delimiter can be used. The variable must be created in an earlier step using the Create Variable action.
From the Task Builder Available Actions pane, open the Loop folder and double-click the Loop File Contents action or drag it into the Steps pane.
In the File box, click the Open Folder button and navigate to the file.
In the Populate variable with file data box, select the variable to populate.
In the Delimiter box, select the delimiter. If you select Custom, enter the delimiter in the Custom delimiter text box.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
In the Task Builder Steps pane, hold down SHIFT and click the first and last steps in the block so that the complete block of steps is selected.
Click the Format button .
Adding Task Steps
Loop File Contents Action
Loop Files Action