# WriteDocument

Generates new FlowFiles with the document in IDX, XML, or JSON format. The processor can optionally write documents to a file on disk.

## Properties

Name | Default Value | Description
--- | --- | ---
Format | IDX | The format in which to write the document. Specify IDX, XML, or JSON.
File in which to write the document |  | The path of the file in which to write the document.
Archive Directory |  | The directory in which to save archived files (when the file you specify reaches the maximum size it is archived).
Max file size in bytes before archiving |  | The size above which the file is archived.

## Relationships

Name | Description
--- | ---
failure | FlowFiles from which there were errors.
original | FlowFiles that were processed successfully.
written | New FlowFiles with a representation of the document in the chosen format.

© Copyright 2018-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm