Skip to main content
The profile will be applied to documents that have gone through the verification stage. To configure both unattended and attended processing for the same Document Definition, you must first create a script export profile and then modify this profile as described below:
  1. In the Export Settings dialog box, click the Edit… button to modify an export script.
  2. Click the Edit Script... button and add the following code into the script editor:
using Abbyy.Connectors.Dms.ComFacade;
using Abbyy.Infrastructure.Logging;
using System.Collections.Generic;
if (Document.Properties.Has("WasVerified")
&& Document.Properties.Get("WasVerified") == bool.TrueString)
{
// TODO: Place the main code of your export script inside these braces.
//
// Factory factory = new Factory();
// . . .
}
This script will check documents for the “WasVerified” registration parameter, which indicates whether or not the document has gone through the verification stage, and consequently, whether or not the user expects to receive verified data. Once you have modified the script, you need to save and publish the modified Document Definition. To do this, close the Document Definition editor and click the Publish button.
Note: If documents are being processed within the project at the time when you add a new export profile or edit an existing export profile, update them to the latest version by pressing Alt+Shift+U or by selecting Update to Latest Version from their shortcut menu.