ActiveTransfer Server 10.7 | webMethods ActiveTransfer Documentation | Administering ActiveTransfer Server | Managing Events | Parameterizing Scheduled Events to Poll Source URLs and Transfer Files to Destination URLs
 
Parameterizing Scheduled Events to Poll Source URLs and Transfer Files to Destination URLs
 
Examples of Event Configurations and Actions
Parameterize only those scheduled events that you have set to run in Manual mode. If you parameterize an event action scheduled to run at a specific time, the event fails or gives you unexpected results because you cannot assign values to the parameterized settings at runtime.
*To configure a parameterized event to transfer files from a set of source URLs to the corresponding destination URLs
1. Create a scheduled event with event type, manual.
2. Add a find action to this event and set the value of the property FindURL to [myFindURL].
3. Add a copy action to this event and set the value of the property DestinationURL to [myDestinationURL].
4. Run the service wm.mft.schedule:executeEventwith following values:
*Create an eventParams  entry for each parameterized event setting, type in the name of the setting and specify a value to the parameterized setting.
*scheduleName = Name of the event
*eventParams[0]\name = myFindURL
*eventParams[0]\value = <source path>
*eventParams[1]\name = myDestinationURL
*eventParams[1]\value = <destination path>
For information on the event action settings than you can parameterize, see wm.mft.schedule.executeEvent in webMethods ActiveTransfer Built-In Services Reference.