Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    File Listener not starting automatically when files are placed
Go
New
Search
Notify
Tools
Reply
  
File Listener not starting automatically when files are placed
 Login/Join
 
Member
posted
Hi All,

I have to load sql server table from a .csv file and used the source as Delimited Flat file and gave Data - Origin as Listener under Data Allocation properties of the source.

When I place the .csv file in the directory mentioned under Data Allocation properties, the Data flow not starting automatically. But if I click submit, the data flow executes successfully.

Please let me know how to start the data flow as soon as the .csv file placed in the directory.


WebFOCUS 7.7, iWay Data Migrator, Windows
Excel, PDF, HTML
 
Posts: 12 | Registered: December 27, 2011Reply With QuoteReport This Post
Guru
posted Hide Post
You have to start the flow with the scheduler. Then it sits and waits, checking periodically (as you specify in the source file synonym) for file(s) to arrive until some limit (again, as specified in the synonym) is reached.

This gives you a lot of flexibility:

For example if you are expecting a single file at the close of business you might schedule the flow to run at 5:00 pm and wait for 1 file, and perhaps send an email message when it arrives.

Or if you were expecting a lot files, you would schedule the flow to run continuously, with no limit on files or timeout.
 
Posts: 386 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
Member
posted Hide Post
Hi Clif,

Thanks for your reply. My flow should be depend only on the .csv file and not on scheduler. Is this can be done without scheduler?


WebFOCUS 7.7, iWay Data Migrator, Windows
Excel, PDF, HTML
 
Posts: 12 | Registered: December 27, 2011Reply With QuoteReport This Post
Guru
posted Hide Post
The flow must be running (idling really) in order to "listen" for the csv file to arrive. So you could schedule it to run every day for 24 hours.

In 7.7.04 you'll be able to schedule a flow to start when the server starts.
 
Posts: 386 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    File Listener not starting automatically when files are placed

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.