Previous Topic

Next Topic

Book Contents

Book Index

Add a File Loop (FOR)

This topic pertains to Advanced tasks.

A file loop causes a set of steps to be performed one time for each file that has been downloaded or created so far in the task. An unlimited number of steps can appear inside a loop. Any task element, except a schedule, can be inside a loop.

Prerequisite: A file loop must be preceded by at least one source element, or by at least one process that adds to the list of files.

To add a file loop:

  1. Click TASKS, click an Advanced task or create a new one.
  2. If the task does not have a source, add a source.

    A Icon_FileLoopFor each file... row is added to the list of task elements.

  3. For each element to include in the file loop:
    1. Click Step and select the element. You are prompted for a location.
    2. Click an indented Insert here that is located under the Icon_FileLoopFor each file... row that designates the start of the file loop.
    3. Fill out any required fields for the element you are adding. For example, if you are adding a process, select the script and any required parameters.
  4. To reposition any element in the list, click the gear icon Icon_Gearand select Move. In the new position in the list, click Move here.

See also: