Dynamic File Name as Source
Have these following primary activities in the process-flow:
WsMessageCall > LanFileSource > FtpTarget
Idea is to call the Webservice, this generates a dynamic file: ABC_mmddyy.hhmmss.XYZ to Folder C:\TEMP
The LanFileSource needs to pick this dynamic file and FTP it.
Problem: The LanFileSource fails to recognize the file as a wild-card entry (*.XYZ) is not acceptable and errors out. Cannot give the static file-name as it is dynamic.
How can the LanFileSource determine the dynamic file-name that has been generated?
Note: WebserviceCall **cannot** be altered to give the dynamic file-name.
-
You can use a File Polling activity for your use case with a File Source activity (with eventcontextenabled set to true) after the File Polling activity. This should allow you to reference the filename
https://support.adeptia.com/entries/21280958-Passing-Source-file-name-to-Target
For more information, please refer to the developer guide (Help > Developer Guide)
- Home > Creating Polling Service Activity > Creating File Polling Activity0
Post is closed for comments.
Comments
1 comment