CloseStream Activity

The CloseStream activity closes the stream generated from the FileToStream activity.

General Tab

The General tab has the following field.
Field Literal Value/ Module Property/ Process Property? Description
Name No The name to be displayed in the process definition

Input Tab

The input for the activity is as follows:

Input Item Datatype Description
inputStream ObjectReference The stream generated from FileToStream activity

Fault Tab

The Fault tab lists the possible exceptions that can be thrown by this activity.

Exception Thrown When...
CloseStreamException Inputstream object of CloseStream activity has an invalid input.
ClassCastException ByteArrayOutputStream cannot be cast to java.io.InputStream.
For more information about the error codes and corrective actions, see TIBCO ActiveMatrix BusinessWorks Error Codes