Adding a Post-Processing Action

Define a post-processing action for execution when a user uploads, downloads, or deletes a file.

Perform the following steps to add a post-processing action:
  1. Go to Actions > Post-Processing and perform one of the following actions:
    • If you want to create a new action, click add.
    • If you want to create a copy of an action that exists, select an existing action, and click copy.
  2. To define the conditions that trigger the action, specify the following details:
    Field Description
    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 activate or deactivate deactivate the action.
  3. Click Settings Icon and configure the following criteria that determine how IBM® webMethods Managed File Transfer runs tasks, and click Ok.
    Field Description
    Execute the tasks below when a user performs the file operation Select the file operation from the list.
    Note:
    • Delete - If 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 To specify a folder, select Any folder. To specify a specific folder, select Specific folder. For Specific folder, type a specific folder name in the box. Use wildcard characters in the folder name box (for example, *baseName). By default, IBM webMethods Managed File Transfer evaluates file activity in any folder structure when it assesses 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 add, then 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
    Then enter the number of seconds to wait before the system runs the action.
  4. Select one or more of the following tasks, and define configurations for each of the tasks in the Properties section: For descriptions of fields for task configurations, see Task Configuration Definitions.
    Tip:
    • Click disable to disable a task.
    • Click enable to enable a task
    • Click delete to delete a task
    • Click copy to copy a task.
  5. Specify the following details for Parallel processing:
    Field Description
    Enable parallel processing Select this option if you want to enable parallel processing of files in multiple threads.
    Start parallel processing for files after Select the task after which IBM webMethods Managed File Transfer must start parallel processing of files in multiple threads from the list. IBM webMethods 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 IBM webMethods Managed File Transfer can create to simultaneously process the files.
  6. Click Add. The new post-processing action appears in the post-processing actions list.