Append Stream to File Service (com.ibi.agents.XDFileAppendAgent)

Syntax:

com.ibi.agents.XDFileAppendAgent

iIT Service Object:

format: Append Stream to File

Description: Appends a stream of data to an open file .

Parameters:

Parameter

Description

Source of Data

Source of the data to write. If omitted, the document will be used, unless you specify a data source location via xpath() function or any other function

Destination File Path *

The path to the destination file.

Close File *

When set to true, the cached file connection is closed. Often iFL such as _iseos(). No data is written on the true value.

Return

Return from this agent.

  • status - the status document will be the output document.
  • input - the input document will become the output document.

Call at EOS

In a streaming environment, EOS (End of Stream) is the short message that is sent after the last document, which signifies the EOS. This parameter determines whether this service should be called for the EOS message. The default value is false.

Edges:

The following table lists the available Line Edges for the Append Stream to File Service (com.ibi.agents.XDFileAppendAgent).

Line Edges

Description

OnError

An exception occurred during execution.

OnSuccess

The operation was successful.

OnFailure

A fail condition occurred during execution.

OnParseError

Could not parse a document.

OnNotFound

The resource was not found and this is considered an error.

OnFailedOperation

Could not perform the operation requested.