|In this tutorial we will learn how to use File Poller and Write File activity and its configuration details. In this File Poller will look for any change in the given floder and Write File will write those details in another file.|
File Poller is a starter process which polls for files or directories and starts a process when the specified change (creation, modification, deletion) is detected.Write File
Write File activity is used to write content to a file.
In this tutorial we will create a BW process as shown in the images below.
File Name: Here wildcard ‘*’ in the path will poll all the files and directories in the folder FilePallet.
Include Existing Files: When will start the BW process, all files already persent in folder FilePallet are picked and new process instances is created.
Exclude File Content: Here we are reading the content of the file. If in case its unchecked file content is not read.
Here any change to file create, modify and delete is picked and a new process instance is created.
Write File Activity
Append: Append contents; else when unchecked it will overwrite existing file.
|Output (On Successful Run)