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

# サンプルプロセス

> 同梱のサンプル Alteryx ワークフローを実行して、ABBYY Vantage Connector が複数ファイルのトランザクションを処理し、field データを抽出する仕組みを確認します。

ABBYY Vantage Connector for Alteryx には、ワークフローで ABBYY Vantage ツールを使用する方法を示すサンプルプロセスが同梱されています。このサンプルでは、Vantage ツールに入力データを渡すための Alteryx プロセスの構成、複数ファイルのトランザクションの作成、transaction registration parameters の設定、および 1 つのトランザクション内での複数Documentの結果処理といった手順を確認できます。

このサンプルプロセスでは、同一人物の Bank Statement Document と Personal Bill Document を単一のトランザクションで処理する例を示します。サンプルプロセスの既定の場所は `C:\Program Files\ABBYY Vantage Connector for Alteryx\SampleWorkflow\Vantage.yxzp` です。

<div id="package-contents">
  ## パッケージの内容
</div>

`Vantage.yxzp` パッケージには、次のものが含まれています。

* サンプル入力画像2点 (`BankStatement.tif` と `PersonalBill.tif`)
* メインワークフローファイル `Vantage.yxmd`
* メインワークフローに埋め込まれたマクロファイル `GetTransactionStatusMacro.yxmc`
* 処理結果を保存するための **Output** フォルダー

<div id="run-the-sample-process">
  ## サンプルプロセスを実行する
</div>

<Steps>
  <Step title="パッケージをインポートする">
    `Vantage.yxzp` を実行し、その内容をアクセス可能な任意のフォルダーにインポートします。

    <Frame>
      <img src="https://mintcdn.com/abbyy/GYXzQ7h3X_sAg5P7/images/vantage/developer/connectors/alteryx/import-workflow-package.png?fit=max&auto=format&n=GYXzQ7h3X_sAg5P7&q=85&s=2ed00727102703c4398872b34b417fa6" alt="Alteryx Import Workflow Package dialog showing Vantage.yxzp as the package file and Vantage.yxmd as the workflow, with the destination directory field" width="398" height="239" data-path="images/vantage/developer/connectors/alteryx/import-workflow-package.png" />
    </Frame>
  </Step>

  <Step title="メインのワークフローを開く">
    Alteryx Designer で `Vantage.yxmd` ワークフローファイルを開きます。

    <Frame>
      <img src="https://mintcdn.com/abbyy/GYXzQ7h3X_sAg5P7/images/vantage/developer/connectors/alteryx/sample-workflow.png?fit=max&auto=format&n=GYXzQ7h3X_sAg5P7&q=85&s=6632efc623a9fdce75030b9a886f141c" alt="Alteryx workflow canvas showing the ABBYY Vantage connector workflow with Use Skill, GetTransactionStatusMacro, Get Result, and Parse Fields tools connected in sequence" width="1575" height="884" data-path="images/vantage/developer/connectors/alteryx/sample-workflow.png" />
    </Frame>
  </Step>

  <Step title="Use Skill ツールを設定する">
    **Use Skill** ツールを選択し、設定パネルで Vantage の接続設定を指定します。

    * Vantage server URL
    * User name (Vantage アカウントのログイン名)
    * Password
    * **Skill Name** ドロップダウンリストで **Default Process Skill** を選択します
  </Step>

  <Step title="Get Result ツールを設定する">
    **Get Result** ツールを選択し、その設定パネルで同じ接続設定を指定します。
  </Step>

  <Step title="マクロ内の Get Status ツールを設定する">
    `GetTransactionStatusMacro.yxmc` マクロファイルを開きます。**Get Status** ツールを選択し、設定パネルで同じ Vantage の接続設定を指定します。
  </Step>

  <Step title="マクロを保存して閉じる">
    `GetTransactionStatusMacro.yxmc` ファイルを保存して閉じます。
  </Step>

  <Step title="メインのワークフローに戻る">
    `Vantage.yxmd` ファイルに切り替えます。
  </Step>

  <Step title="ワークフローを実行する">
    ワークフローを実行します。
  </Step>
</Steps>

<div id="inspect-the-results">
  ## 結果の確認
</div>

ワークフローが正常に実行されたら、ワークフローファイルと同じディレクトリにある **Output** フォルダーを開きます。**Get Result** ツールは、次のものを作成します。

* トランザクションごとのサブフォルダー (トランザクション識別子の名前が付きます)
* トランザクションフォルダー内に、Documentごとの2階層のサブフォルダー (Document識別子の名前が付きます)
* 対応するDocumentのサブフォルダーに保存される結果ファイル (`.json`)

**Parse Fields** の出力 (抽出されたfieldの値を含むデータテーブル) も確認できます。このテーブルはワークフロー内で参照できるほか、**Output** フォルダーのルートに `fields.csv` として保存されます。

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

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