Check this out -
You can use the Oracle File and FTP Adapters, which provide support for file-based triggers, to control inbound adapter endpoint activation. For information about how to use file-based triggers, see Section 184.108.40.206, "File Polling."
Using Trigger Files
By default, polling by inbound Oracle File and FTP Adapters start as soon as the endpoint is activated. However, to obtain more control over polling, you can use a file-based trigger. Once the Oracle File or FTP Adapter finds the specified trigger file in a local or remote directory, it starts polling for the files in the inbound directory.
For example, a BPEL process is writing files to a directory and a second BPEL process is polling the same directory for files. To have the second process start polling the directory only after the first process has written all the files, you can use a trigger file. You can configure the first process to create a trigger file at the end. The second process starts polling the inbound directory after it finds the trigger file.
The trigger file directory can be the same as the inbound polling directory or different from the inbound polling directory. However, if your trigger file directory and the inbound polling directory are the same, then you should ensure that the name of the trigger file is not similar to the file filter specified in the Adapter Configuration page shown in Figure 4-21.
The content of a trigger file is never read and therefore should not be used as payload for an inbound receive activity.
Inbound Adapter should not read the file unless it finds the trigger file in the folder.
Trigger file can be written once your first adapter completes the task.
Thanks for your reply.
please let me know one more thing
1) can we dynamically change the trigger file location? means from where we want to trigger our file polling.
While writing the trigger file, File adapter gives you option of both Physical and Logical Path.