ActiveTransfer Server 10.15 | webMethods ActiveTransfer Documentation | Administering ActiveTransfer Server | Managing Actions | Task Configuration Definitions | Exclude Task Configuration
 
Exclude Task Configuration
You can exclude files from a task or a set of tasks by defining an Exclude task prior to these tasks. The Exclude task uses a File filter to exclude files from all the tasks in the action that follow the Exclude task. The files that match the exclude criteria are not be passed on to the next task.
You can configure the following properties for the Exclude task:
Field
Description
Task name
Type a different name for the task or retain the name that is automatically assigned by ActiveTransfer Server.
Note:
Each task in an action must have a unique name. ActiveTransfer Server assigns a default name for a task which is the task type itself. For example, Jump for a Jump task. When you add a task that already exists in the action with its default name, ActiveTransfer Server appends the default name with a numeral starting at 1. For example, Jump1.
File filter
Type the name of the file if you want to filter files with specific names. By default, ActiveTransfer Server considers all files. If you want to use regular expression, specify a valid regular expression in File filter and select Use regular expression option.
Note:
You can use wildcard characters to filter the file names. For example, type *.zip to trigger the action only when ZIP files are uploaded or downloaded. To trigger an action based on a name string in the ZIP files, use the name string in the File filter box, preceded and followed by wildcard characters. For example, type *invoice*.zip to trigger the action based on the file URLs, when ZIP files containing the character string invoice in their file names are uploaded or downloaded. If you define a File filter for a task, the task acts only on files that are filtered out.
Few examples for regular expressions are:
*^(?!.*purchaseorder).*$: Excludes files with the file URL not containing purchaseorder.
**/out/.*: Include files with the file URL containing the folder out.
*^abc(.*)123$: Includes anything that starts with abc and ends with 123. Matches abc123, abcxyz123, but not abcxyz123def.
*NEW-((*.doc)|(*_backup_*)): Includes anything starting with NEW- that either ends in .doc, or is followed by the string _backup_.
Execute error task
Select this option to execute an error task if the file operation fails. For more information about error task configuration, see Error Task Configuration.