> ## 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.

# Import logic

> Retrieve the results of files processed by the Export logic with the Import MetaBot logic, saving output to a user-specified folder in ABBYY FlexiCapture.

The **Import** logic is used for getting the results of processing files sent to ABBYY FlexiCapture by the Export logic. Running this logic saves the processing results into a user-specified folder.

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

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

Input parameters:

| **Name**                 | **Description**                                                                                                      |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------- |
| BatchTypeName (optional) | The name of the batch type to be used when connecting to FC. To use the default batch type, specify an empty string. |
| Company (optional)       | The name of the FC tenant to be used for processing. If no tenants are to be used, specify an empty string.          |
| OutputDirectoryPath      | The path to the folder where processing results are to be stored.                                                    |
| Password                 | The password of the FC user.                                                                                         |
| ProjectName              | The name of the FC project.                                                                                          |
| ServerURL                | The address of the FC server.                                                                                        |
| Username                 | The name of the FC user.                                                                                             |

Output parameters:

| **Name**           | **Description**                                                                                                                                                            |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ImportSuccessful   | *True* if a suitable batch has been found and the processing results have been successfully saved to **OutputDirectoryPath**. *False* if no suitable batch has been found. |
| 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 Import logic here: %Userprofile%\Documents\Automation Anywhere Files\Log\My Tasks\Bot Store\FC-MetaBot\ImporterErrorLog.txt.
</Note>
