Advanced tasks pull files from sources and push them to destinations according to schedules, and can use processes to run scripts. They can also provide conditional processing (IF), and include task loops (FOR).
Prerequisite: Hosts must have already been added to MOVEit Automation.
To create an Advanced task:
In the top menu, click TASKS. On the TASKS page, at the upper right, click Add Task. Specify a name, select Advanced, and click Add Task.
The new task is created as an empty task.
Click Step and add an element.
You can also create an Advanced task by creating it from a Traditional task. For more information, see Create Advanced Task from Task.
Elements in Advanced Tasks
Advanced tasks can contain these elements: sources, destinations, schedules, and processes. They can also include the following advanced elements:
File Loop (FOR): 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. For more information, see Add File Loop.
Conditional branch (IF): A conditional branch (IF block) defines a condition, and the set of actions to be performed if that condition is met or not met. You can configure a conditional branch anywhere in an Advanced task, including inside a file loop. Any task element except a schedule can appear inside a conditional branch. For more information, see Add Conditional Branch.
Update Original File: Use this step after a transfer is successful to delete or rename original files. Typically used in a file loop. For more information, see Update Original.
Send Email: Adds a Send Email step to an Advanced task. The email is sent regardless of the task results. The step can be placed anywhere in the task. For more information, see Send Email.
Run Task: Runs another task as a step in an Advanced task. The step can be placed anywhere in the task. For example, you can use Run Task inside a conditional branch to process only those files that meet a certain condition. For more information, see Run Task.
Advanced Task Processing
The position of elements in an Advanced task determines the processing flow of the task:
Elements are processed from top to bottom.
Elements that are inline (left aligned, rather than indented) are considered independent elements, which means processing is completed for one before moving on to the next.
An element that is indented under a File Loop is processed for each file in the list of source files.
An element that is indented under a Conditional branch (If Block) is executed only if the specified conditions are met.
You can move elements within an Advanced Task without needing to create or delete elements.