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

# Configure attended and unattended processing in one workflow

> Configure a single ABBYY FlexiCapture workflow that returns files to a UiPath activity for unverified documents and exports verified ones to a queue.

One workflow can handle both verified and unverified documents of the same type. A document that needed no verification returns its files and metadata to the activity, while a document that was verified sends its export results to the UiPath Orchestrator queue instead.

## Setup steps

| Step                                                                                                                               | What you do                                                                              |
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [Configure export for one combined workflow](/flexi-capture/connectors/up-conf-document-export-se)                                 | Add both export profiles to the Document Definition, and then edit the export script.    |
| [Configure document processing for one combined workflow](/flexi-capture/connectors/ui-path/up-configuring-document-processing-se) | Set the batch type image processing and add a script stage that runs after verification. |
| [Configure a conditional script export profile](/flexi-capture/connectors/ui-path/up-conf-ascript-export-pro)                      | Restrict the script export profile to documents that passed verification.                |
