The FileToStream activity creates an input stream of a file from the disk. The file is not loaded in the memory, instead the activity opens a stream and passes on the input stream Object Reference in the output to be used in other activities.
General Tab
The
General tab has the following fields.
| Field
|
Literal Value/ Module Property/ Process Property?
|
Description
|
| Name
|
No
|
The name to be displayed in the process definition
|
| Description
|
No
|
A short description of the activity
|
Input Tab
The input for the activity is the following.
| Input Item
|
Datatype
|
Description
|
| fileName
|
String
|
The path and name of file
|
Output Tab
The output of the activity is the following.
| Output Item
|
Datatype
|
Description
|
| inputStream
|
Object Reference
|
The input stream reference to be used for further processing
|
Fault Tab
The
Fault tab lists the possible exceptions that can be thrown by this activity. See
TIBCO ActiveMatrix BusinessWorks Error Codes for more information about the error codes and corrective actions to take.
| Exception
|
Thrown When...
|
| FileNotFoundException
|
Cannot find the file provided in the fileName parameter
|
Copyright © Cloud Software Group, Inc. All rights reserved.