Document state modification Service (com.ibi.agents.XDDocAgent)

Syntax:

com.ibi.agents.XDDocAgent

iIT Service Object:

format: Document state modification

Description: Modifies the incoming document state, setting status, encoding, format, etc. .

Parameters:

Parameter

Description

Document Error State

Controls the document error state. The error state sends the document to the errorTo destination and can be tested by _iserror().

Schema Error State

Controls the schema error state. The schema error state can be tested the by _hasschemaerr() iFL function.

Encoding *

The IANA character set to be used for this document. Select from the standard list or enter an encoding name.

Output

Message Format *

Changes the format of the message in this document. If flat string, you can apply an iFL expression.

Apply iFL

Applies this iFL to the flattened form of the message content. Applies when flattening to a string only.

XML Version

Sets the XML version. This affects the XML declaration.

Suffix Type

Forces the type to the entered value, for example, pdf. Used for emits. If blank, it does not change the value. In a file system the type can be the suffix, which in some systems triggers the appropriate visualizer for the file.

Edges:

The following table lists the available Line Edges for the Document state modification Service (com.ibi.agents.XDDocAgent).

Line Edge

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.

OnCancelled

The service has responded to a cancellation request.

fail_encoding

Invalid character encoding.