A File Adapter is an object used to manage file-based information through Clarify.
File Adapters aid in the management of file-based resources: they can move, copy, delete, read, or write files on the local file system or on mapped network drives.
- File-Copy adapters copy files from one folder to another. Common uses include copying transactional files from their "pick-up" location to a designated archive folder.
- File-Delete adapters delete a file from a folder. They're typically used as a purge mechanism for archived files.
- File-Move adapters move a file from one folder to another. Common uses include moving files from a "staging-location" to a "pick-up" location.
- File-Read adapters read a file and make the data accessible to other components.
- File-Write adapters write data to a file.
How this Object Works
Business Processes use File Adapters to perform file-based operations on data. Writing data immediately after transformation activity is the most common use of File Adapters. In addition to the data, Business Processes can supply runtime directions to the adapter. For example, you may want to supply the name of a file to be written to the local file system. The Business Process can supply the file name (and other common runtime values) to the File Write Adapter.
- Create the File Adapter.
- Define the File Adapter.
- Reference a File Adapter in a Business Process.