Defining this object instructs Clarify which file to read.
The following steps take place in the File Read Adapter editor, which has three
sections: Template , Parameters and File Information
-
If you wish to use an existing adapter as a template, select it from the
Template section's Template File Adapter field. Use of an
Adapter Template is tied directly to the number and types of parameters the
adapter uses. For more information, see Using File Adapters - advanced.
-
If you need to add a parameter, click the Add button in the
Parameters section and then define the parameter that appears in the
new row. By default, a Read adapter has one parameter: storageNodes. The
storageNodes parameter represents the data in the file.
-
Under File Information, in the File Path field, specify the
folder where the file is located. You have several options to specify the file
path:
- Browse for a Directory - Select the folder containing the
files.
- Global Variable - Select a Global Variable that contains the
folder.
- Substitution Variable - A variable is place-holder for the file
path. The actual file name will be supplied to the adapter by a Business
Process. You can type the Variable Name or use the Variable Browser.
-
In the File Name field, specify the name of the file to be read. You
have two options to specify the file name:
- Specific file name: the name of the file to read.
- Variable: A variable is a place-holder for the name. The actual
name of the file will be supplied at runtime by a Business Process.
-
Click Save to complete this task.