Jump Task Configuration

Define a Jump task in IBM® webMethods Managed File Transfer that makes it skip one or more tasks and executes a designated task in the action. By default, a Jump task is unconditional. Also, define a jump condition that determines which Jump task is executed. IBM webMethods Managed File Transfer executes the tasks defined in an action sequentially until it comes across a Jump task. If any file in the list meets the jump condition, the Jump task is triggered.

Configure the following properties for the Jump task:

Field Description
Task name Type a different name for the task or retain the name that is automatically assigned by IBM webMethods Managed File Transfer.
Note: Each task in an action must have a unique name. IBM webMethods Managed File Transfer 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, IBM webMethods Managed File Transfer 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, IBM webMethods Managed File Transfer considers all files. If you want to use a regular expression, specify a valid regular expression in the File filter and select the Use regular expression option.
Note: 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.
A few examples of regular expressions are:
  • ^(?!.*purchaseorder).*$: Excludes files with the file URL 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_.
Jump condition Select a condition you want to execute for a jump task from the list, select the Qualifier from the list, and type a Value for the server variable. For example, {ext} Equals xml triggers a jump task for all XML files.
Jump to task Select a task to jump to from the list.
Execute error task Select this option to execute an error task if the file operation fails. For more details, see Error Task Configuration

The Jump task changes the sequence in which the tasks are executed. The task specified in the “Jump” task is executed instead of the next task in the sequence. The “Jump” task however does not modify the list of files that are passed on from the task before the Jump task to the task that is triggered by the Jump task.