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

# スクリプトエクスポートプロファイルの設定

> WasVerified 登録パラメーターを使用して、Verificationステージを通過したドキュメントに対してのみ実行されるように、FlexiCapture のエクスポートスクリプトを編集します。

このプロファイルは、ドキュメントがVerificationステージに入ると実行されます。

スクリプトプロファイルを作成するには、[エクスポートプロファイルの作成](/ja/flexi-capture/connectors/export-config-fc-ui-path)のセクションを参照してください。

エクスポートスクリプトを編集し、次のコードを挿入してください。

```
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: メインのエクスポートスクリプトコードをここに記述してください。
    // 
    // Factory factory = new Factory();
    // . . .
}
```

エクスポートスクリプトを更新したら、Document Definition の変更を保存して公開する必要があります。手順については、[エクスポートプロファイルの作成](/ja/flexi-capture/connectors/creating-an-export-profile-ui-path)を参照してください。
