B2B Integration : Managing File Transfers with ActiveTransfer : Managing Events : Executing File Operations : Creating a Basic File Operation Action
Creating a Basic File Operation Action
When you create a file operation action, you must first select the file operation you want to execute. Then, you define the specific properties that apply to the selected file operation.
The following procedure describes how to create the basic file operation action. For information about defining individual file operation properties, see the topics at the end of this procedure.
Note:  
For outbound file transfers triggered through scheduled events or by invoking the wm.mft.schedule:executeEvent service, consider transferring the files by way of a virtual folder instead of directly connecting to an external server using a find, copy, or move file operation. Files transferred by way of virtual folders are automatically logged on the File Transactions page.
To create a basic file operation action
1. In My webMethods: Administration > Integration > Managed File Transfer > Event Management.
2. Select the server instance. For details, see Selecting the Instance to Work With.
3. Click the tab containing the event for which you are creating the file operation action (Post-Processing Events or Scheduled Events).
4. Select the event in the event list.
5. In the Actions section, click the Select Action list.
a. In the resulting dialog box, click the Select Category list, and then click Execute File Operation.
b. In the Select Action list, click the file operation you want the action to execute (for example, Copy).
c. Click OK.
You can accept the default properties for the selected file operation action, or you can modify them to meet your requirements. For details, see:
*Finding Files
*Copying or Moving Files
*Deleting Files
*Encrypting and Decrypting Files
*Renaming Files
*Unzipping Files
*Writing Content to a File
*Zipping Files
Note:  
If you are defining a scheduled event, make sure the “find file” action is the first action you define. Otherwise, the scheduled event will fail.
6. If you require parallel processing of files in multiple threads, click the Advanced list.
a. Select Parallel processing.
b. From the Start parallel processing for files after, select the action after which ActiveTransfer must start parallel processing of files in multiple threads.
ActiveTransfer executes the action you selected here, and any others before it, sequentially.
c. In Maximum numer of parallel processes, type the maximum number (between one and 999) of parallel threads that ActiveTransfer can create to simultaneously process files.
Result: You can monitor the actions performed on files using the File Seq No column in the Activities tab of the Event Log page. By default, this column is hidden, but you can configure its display.
All files in an event are assigned a File Seq No starting from zero when ActiveTransfer picks them up sequentially for the first event action. Even after parallel processing starts, for all subsequent actions, ActiveTransfer maintains the initial sequence number on each thread until the event execution is complete.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback