> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export logic

> Send files to ABBYY FlexiCapture for processing with the Export MetaBot logic and get the matching Document Definition or a Web Verification Station URL back.

The Export logic is used for sending files to FC for processing. Running this logic will either save the processing results and get the name of the matching Document Definition (in the unattended service scenario) or get a URL linking to the verification page (in the attended service scenario).

<Note>
  The Export logic uses the BatchOwner parameter to interact with the Import logic.
</Note>

<img src="https://mintcdn.com/abbyy/M5jnw37NmJ-asKkj/images/flexi-capture/connectors/AA2.png?fit=max&auto=format&n=M5jnw37NmJ-asKkj&q=85&s=4191abd866acf49443c0c129ccbb037b" alt="" width="1014" height="728" data-path="images/flexi-capture/connectors/AA2.png" />

Input parameters:

<table width="100%"><tbody><tr><td><p><strong>Name</strong></p></td><td><p><strong>Description</strong></p></td></tr><tr><td><p>BatchTypeName (optional)</p></td><td><p>The name of the batch type to be used when connecting to FC. To use the default batch type, specify an empty string.</p></td></tr><tr><td><p>Company (optional)</p></td><td><p>The name of the FC tenant to be used for processing. If no tenants are to be used, specify an empty string.</p></td></tr><tr><td><p>InputFilePath</p></td><td><p>The path to the file to be processed.</p><p><strong>Note: </strong> The activity only works with files containing one document each (i.e. each document must be placed in a separate file).</p></td></tr><tr><td><p>OutputDirectoryPath</p></td><td><p>The path to the folder where processing results are to be stored.</p></td></tr><tr><td><p>Password</p></td><td><p>The password of the FC user.</p></td></tr><tr><td><p>ProjectName</p></td><td><p>The name of the FC project.</p></td></tr><tr><td><p>RegistrationParametersFilePath (optional)</p></td><td><p>The path to the CSV file that contains the batch registration parameters.</p></td></tr><tr><td><p>ServerURL</p></td><td><p>The address of the FC server.</p></td></tr><tr><td><p>Username</p></td><td><p>The name of the FC user.</p></td></tr></tbody></table>

Output parameters:

| **Name**           | **Description**                                                                                                                     |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------- |
| VerificationURL    | A URL linking to the verification page on the FC Web Verification Station. Contains an empty string if no verification is required. |
| LogicFailed        | *True* if an error occurred while the logic was running. *False* if the logic was executed successfully.                            |
| DocumentDefinition | The name of the matching Document Definition.                                                                                       |

<Note>
  You can find the log file for the Export logic here: %Userprofile%\Documents\Automation Anywhere Files\Log\My Tasks\Bot Store\FC-MetaBot\ExporterErrorLog.txt.
</Note>
