Focal Point
Featured iWay Use Case: Checking for Locked Files

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/9287030786

June 21, 2017, 01:36 PM
Kathleen Butler
Featured iWay Use Case: Checking for Locked Files
Dear Focal Pointers,

Check out our featured iWay Use Case of the week!

Checking for Locked Files
View PDF | Download ZIP file

The iWay File listener will attempt to continuously read a file that is locked by another user or an independent process. In this case, a trace is sent downstream to the process flow (pflow) of the channel. Depending on your business logic, erroneous or undesired messages may trigger an unwanted file write or email notification.

The Prepare_Files.zip channel archive that is provided with this use case contains a technique that verifies if a file is unlocked. If a file is unlocked, then the extension of this file is renamed. A standard business channel can then be used to search only for the renamed file extension, which assures that only unlocked files are read and processed.

Additional iWay Use Cases and self-service tutorial videos are available on the iWay Information Center.

If you haven’t already done so, please take our iWay Survey to let us know if you have any feedback or would like to share a Use Case with us. We appreciate your feedback!

Sincerely,
Kathleen Butler
Senior Customer Care and Communications Manager
Information Builders