Skip to main content
A script export profile sends the processing results to UiPath through the Orchestrator web service. The export creates a new transaction in a particular Orchestrator queue, and all of the processing results are stored in that transaction as strings in Specific Data. Use a script export profile when the results are exported after verification, well after processing started, or when the image source is the ABBYY FlexiCapture Mobile client or a Scanning Station.
Add the connector assemblies to the Document Definition before you create an export profile. For more information, see Add the assemblies to a Document Definition.

Create the export profile

1

Open the project

On the Project Setup Station, open your ABBYY FlexiCapture project.
2

Open the Document Definition

  1. Click Project → Document Definitions to open the list of Document Definitions available for the project.
  2. Select the Document Definition you want to specify new export settings for.
  3. Click Edit.
3

Open the export settings

Click Document Definition → Export Settings.
4

Start the export profile wizard

Click Add.
5

Select the destination type

On the Select the Type of Destination step:
  1. Select Custom export (script) from the Type drop-down list.
  2. Leave the other settings unchanged, or modify them as described in Export settings.
  3. Click Next.
6

Add the export script

On the Script Export step:
  1. Click Edit Script.
  2. Select the C# .Net script language.
  3. Paste one of the sample scripts into the script editor.
  4. Click Next.
7

Name the export profile

On the Select the Destination Name step, specify a name for your export profile, and then click Finish.
8

Enable the export profile

The new export profile appears in the list of available export profiles in the export setup dialog box. Select the box next to the profile in the Enabled column so that ABBYY FlexiCapture uses it at the export stage.
9

Publish the Document Definition

Click OK and close the Document Definition editor, and then click Publish.

Sample scripts

Both sample scripts are in the Samples folder of the ABBYY FlexiCapture Connector for UiPath distribution package. They differ in where the export settings are stored. For a description of the options that either method sets, see Specify UiPath export options. The code of UiPath - ExportScript - Configure by XML (Attended service).cs also lists other possible naming schemes for the XML files.