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

# Get Result ツール

> Get Result は、Processed ステータスのトランザクションについて ABBYY Vantage から処理結果をダウンロードし、出力フォルダーに保存します。

**Get Result** ツールは、ABBYY Vantage から処理結果を取得し、ローカルフォルダーに保存します。

**Get Result** は、`Processed` ステータスのトランザクションに対してのみ実行されます。トランザクションを **Get Result** に渡す前に、まず **Get Status** を実行し、その出力を `Status = "Processed"` でフィルタしてください。

**OutputPath** 列で指定したフォルダー内には、トランザクションごとに、トランザクション識別子を名前とするサブフォルダーが作成されます。さらにそのサブフォルダー内には、トランザクションに含まれる Document ごとに、Document識別子をフォルダー名とするフォルダーが作成されます。各Documentフォルダーには、処理結果のファイルが格納されます。

<Note>
  パス長の制限により、出力フォルダーの絶対パスは 260 文字以内にする必要があります。この文字数には、**Get Result** ツールが作成するトランザクションフォルダー名およびDocumentフォルダー名 (それぞれ 36 文字) も含まれます。
</Note>

<div id="connection-settings">
  ## Connection settings
</div>

**Get Result** ツールには、[接続の設定](/ja/vantage/connectors/alteryx/setup#configure-the-connection)で説明されている Connection Settings が含まれています。

<div id="input-anchor">
  ## Input アンカー
</div>

| Column        | Type       | Description             |
| ------------- | ---------- | ----------------------- |
| TransactionId | V\_WString | 結果を取得する対象のトランザクションの識別子。 |
| OutputPath    | V\_WString | 結果ファイルの保存先フォルダーのパス。     |

入力例:

<Frame>
  <img src="https://mintcdn.com/abbyy/GYXzQ7h3X_sAg5P7/images/vantage/developer/connectors/alteryx/get-result-input-example.png?fit=max&auto=format&n=GYXzQ7h3X_sAg5P7&q=85&s=7aa0cc01e450b14959bd34f854eddf43" alt="Get Result input table showing four rows with TransactionId GUIDs and OutputPath set to C:\Temp\Output" width="446" height="96" data-path="images/vantage/developer/connectors/alteryx/get-result-input-example.png" />
</Frame>

<div id="output-anchor">
  ## 出力アンカー
</div>

| Column        | Type       | Description                                                                                       |
| ------------- | ---------- | ------------------------------------------------------------------------------------------------- |
| TransactionId | V\_WString | トランザクションの識別子です。                                                                                   |
| DocumentId    | V\_WString | トランザクション内のDocumentの識別子です。                                                                         |
| FilePath      | V\_WString | 結果ファイルへのパスです。                                                                                     |
| FileType      | V\_WString | 結果ファイルの種類です。指定可能な値: `Json`、`FieldsJson`、`OcrJson`、`Txt`、`Xml`、`Xlsx`、`Docx`、`Pdf`、`FieldPicture`。 |
| IsSuccess     | Bool       | 結果が正常に取得されたかどうかを示します。                                                                             |
| Error         | V\_WString | トランザクション結果の取得中に発生したエラーメッセージを示します (トランザクションのステータスが `Processed` 以外の場合) 。                            |

出力例:

<Frame>
  <img src="https://mintcdn.com/abbyy/GYXzQ7h3X_sAg5P7/images/vantage/developer/connectors/alteryx/get-result-output-example.png?fit=max&auto=format&n=GYXzQ7h3X_sAg5P7&q=85&s=ff4a75d4fa53422f2c2328fcce1f8ce7" alt="Get Result output table showing multiple rows with transaction IDs, document IDs, file paths, file types such as Json, FieldsJson, OcrJson, Txt, and IsSuccess values" width="1167" height="252" data-path="images/vantage/developer/connectors/alteryx/get-result-output-example.png" />
</Frame>

<div id="result-file-types-by-skill">
  ## Skill 別の結果ファイルの種類
</div>

利用できる結果ファイルは、Documentに適用した Skill によって異なります。

| Skill          | 結果ファイル形式                                                       |
| -------------- | -------------------------------------------------------------- |
| Document Skill | `Json`、`FieldsJson`                                            |
| 分類スキル          | `Json`                                                         |
| OCR Skill      | `OcrJson`、`Txt`、`Xml`、`Xlsx`、`Docx`、`Pdf` (Skill Settings による) |
| Process Skill  | Skill の Output アクティビティの Export settings に応じて、有効になっているすべての形式    |

分類スキル、Document Skill、OCR Skill を使用する場合、トランザクションのすべての入力ファイルは Vantage 内で 1 つの Document に組み立てられます。Process Skill を使用する場合は、複数の結果Documentを取得できます。

既定では、Process Skill を使用すると、ABBYY Vantage はトランザクション内の入力ファイルごとに個別の Document を作成します。Documentの class が異なっていても、1 つのトランザクション内で処理されます。また、Process Skill 内の Assemble アクティビティを使用して、独自の Document assembly 設定を指定することもできます。

<div id="related-topics">
  ## 関連トピック
</div>

* [Use Skill ツール](/ja/vantage/connectors/alteryx/tools/use-skill)
* [Get Status ツール](/ja/vantage/connectors/alteryx/tools/get-status)
* [Parse Fields ツール](/ja/vantage/connectors/alteryx/tools/parse-fields)
