ActiveTransfer Server 10.7 | webMethods ActiveTransfer Documentation | Administering ActiveTransfer Server | Welcome to webMethods ActiveTransfer (new user interface) | Managing Actions | Task Configuration Definitions | Execute Trading Networks Service Task Configuration
 
Execute Trading Networks Service Task Configuration
You can configure the following properties for the Execute Trading Networks service task:
Prerequisites
*If you need to send large files to Trading Networks, configure your target Trading Networks appropriately. For details on how to configure Trading Networks to process large files, see the Trading Networks documentation.
*For remote installations of ActiveTransfer and Trading Networks, list the remote server aliases of the remote Trading Networks instances in the parameter mft.aliases.tn.
*If you have ActiveTransfer, list remote server aliases of ActiveTransfer nodes in the parameter mft.group.aliases.
Field
Description
Task name
Type a unique name for the task.
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 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_.
Category
Select the Integration Server package that contains the service you want to execute from the list.
Service
Select one of the following options:
*XML, if you want to execute the Trading Networks service wm.tn:receive to process XML document types.
*EDI, if you want to execute the Trading Networks service wm.tn:receive to process EDI document types.
*Flat File, you want to execute a particular Trading Networks service to process flat file document types and do the following:
*Select a package from the Package list.
*Select your document gateway service for processing and sending the flat file to Trading Networks from the Service list.
For details about flat file processing, see the Trading Networks documentation.
Note:
If you submit flat files to a remote Trading Networks instance, you must have the document gateway service defined on your local Integration Server. This local service is used for the configuration of input and output parameters in My webMethods Server. For details on the document gateway service, see the Trading Networks documentation.
Service input
Click and type the Parameter name and Value for the input parameters of the Trading Networks service that you selected, and add any content types as required, respectively. For more information about the Trading Networks services and their signatures, see the Trading Networks documentation.
Note:
ActiveTransfer post-processing and scheduled actions on remote Trading Networks does not support TN_params document type as input for the Trading Networks Service task execution. For Flat File documents, the input parameter field supports only String values for services.
Execute error task
Select this option to execute an error task if the file operation fails. For more details, see Error Task Configuration.
The “Execute Trading Networks service” task runs the specified Trading Networks service for each file in the list that is passed on to the task by the previous task. This task does not modify the list of files from the previous task.