Attachment Iterator Service (com.ibi.agents.XDIterAttachments)

Syntax:

com.ibi.agents.XDIterAttachments

iIT Service Object:

iterator: Attach Iterator

Description:

Handle each attachment of the current document per iterative.

Parameters:

Parameter

Description

Handle Option

How to handle identified attachments

  • delete: removes each attachment from current document after processing.
  • replace: replaces the original attachment with a the modified document.
  • leave: leaves original attachments unchanged.

Start Index

Index of the first attachment to process in the mail object. The first attachment to the main document has an index of 0 (zero).

Header Namespace

The special register namespace where MIME headers for the current attachment will be stored. If replace handling option is selected, registers in the namespace will be added to the replaced attachment.

Main Body Part Header Namespace

If the current attachment is itself a multipart, then this is the special register namespace where the MIME headers for the main body part will be stored.

Keep Document Flat

Keeps the body of the document as an array of bytes.

  • True
  • False

Edges:

The following table lists the available line edges for the Attachment Iterator Service (com.ibi.agents.XDIterAttachments).

Line Edge

Description

OnCompletion

Complete

OnError

Error

OnSuccess

Success

OnFailure

Failure

OnCustom

  • OnError
  • OnSuccess
  • OnFailure
  • fail_parse
  • fail_operation
  • fail_notfound