Adding a post-processing action
When a file is uploaded, downloaded, or deleted by a user, a post-processing action can be triggered individually for each file, based on pre-configured criteria. The post-processing action processes files one by one, and if an error occurs, file processing stops once the current task is completed, ensuring that any issues are isolated and do not affect subsequent tasks. After you add an action and define the triggering conditions, you can specify one or more tasks to run when the action is triggered.
Procedure
-
Go to Actions > Post-Processing and
perform one of the following actions.
- To create a new action, click
.
- To create a copy of an action that exists, select an existing action, and click
.
- To create a new action, click
-
To define the conditions that trigger the action, provide the following details.
- Action name
- Type a unique name for the post-processing action.
- Description
- Type a brief description of the post-processing action.
- Active
- Click the toggle to activate or deactivate the action.
-
Click
and configure the following criteria that determine how Managed File Transfer runs tasks, and click Ok.
- Execute the tasks below when a user performs the file operation
- Select the file operation from the list.
- Delete When you specify an action based on file deletion, ensure that subsequent tasks do not rely on the deleted file’s presence.
- Upload Post-processing actions that are configured for upload operation that is run for both upload and rename of a file. If you want to run this action only on rename operation, select the Rename task.
- Rename This action runs when a file is renamed.
- Virtual folder
- When setting up action criteria, you can choose between evaluating file activity in any folder by selecting Any folder, or specify a particular folder by selecting Specific folder and entering the folder name, with optional wildcard characters like *baseName. Managed File Transfer automatically considers file activity in all folder structures by default when evaluating action criteria.
- File transfer status
- To specify a file transfer status, select Success or Failure, Success, or Failure.
- Task execution by
- To run the action for file operations performed by particular users, groups, or roles, select
Any user or Specific users, then click
. Select the users, and click OK.
- Execute tasks
- To specify when to run the tasks, select one of the following options.
- Immediately
- After the user exists all sessions
- After the user is idle for Enter the number of seconds to wait before the system runs the action.
-
Select one or more of the following tasks, and define configurations for each of the
tasks in the Properties section.
- Configuring Find task
- Copy task configuration
- Move task configuration
- Delete task configuration
- Rename task configuration
- Encrypt task configuration
- Decrypt task configuration
- Zip task configuration
- Unzip task configuration
- Send email task configuration
- Jump task configuration
- Exclude task configuration
- Error task configuration
-
Specify the following details for Parallel processing.
- Enable parallel processing
- Select this option to enable parallel processing of files in multiple threads.
- Start parallel processing for files after
- Select the task after which Managed File Transfer must start parallel processing of files in multiple threads from the list. Managed File Transfer first runs the task that you select here, and any other tasks before it, sequentially.
- Maximum number of parallel processes
- Type the maximum number (between one and 999) of parallel threads that Managed File Transfer can create to simultaneously process the files.
- Click Add. The new post-processing action appears in the post-processing actions list.