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

# StartTransaction アクション

> StartTransaction アクションは、Blue Prism コネクタで ABBYY Vantage Skill を使用してドキュメントを処理するトランザクションを作成し、トランザクション識別子を返します。

**StartTransaction** アクションは、ABBYY Vantage Skill を使用してドキュメントを処理するトランザクションを作成します。

<div id="action-parameters">
  ## アクション パラメーター
</div>

| パラメーター                                | 方向 | データ型         | 説明                                                             |
| ------------------------------------- | -- | ------------ | -------------------------------------------------------------- |
| **skill**                             | 入力 | `Text`       | ABBYY Vantage Skill 名または Skill 識別子。                            |
| **transactionRegistrationParameters** | 入力 | `Collection` | 任意。新しいトランザクションの登録パラメーターのコレクション。                                |
| **inputFiles**                        | 入力 | `Collection` | 新しいトランザクションの入力ファイルのコレクション。単一のファイルを追加するには、コレクションに 1 つの要素を設定します。 |
| **transactionId**                     | 出力 | `Text`       | トランザクション識別子。                                                   |

**transactionRegistrationParameters** コレクションには、次の fields が含まれます。

| fields    | データ型   | 説明           |
| --------- | ------ | ------------ |
| **Key**   | `Text` | 登録パラメーターのキー。 |
| **Value** | `Text` | 登録パラメーターの値。  |

**inputFiles** コレクションには、次の fields が含まれます。

| fields                         | データ型         | 説明                                    |
| ------------------------------ | ------------ | ------------------------------------- |
| **FilePath**                   | `Text`       | 入力ファイルへのパス。このフィールドに空の行がないことを確認してください。 |
| **Index**                      | `Number`     | 任意。トランザクションの入力ファイル順を示すインデックス。         |
| **FileRegistrationParameters** | `Collection` | 任意。ファイル登録パラメーターのコレクション。               |

**FileRegistrationParameters** コレクションには、次の fields が含まれます。

| fields    | データ型   | 説明               |
| --------- | ------ | ---------------- |
| **Key**   | `Text` | ファイル登録パラメーターのキー。 |
| **Value** | `Text` | ファイル登録パラメーターの値。  |

<div id="prepare-a-collection-for-input-files-and-registration-parameters">
  ## 入力ファイルと登録パラメーター用のコレクションを準備する
</div>

**inputFiles** パラメーターと **transactionRegistrationParameters** パラメーターにデータを渡す前に、各コレクションの構造が有効になるように設定します。

<Steps>
  <Step title="プロセスを開く">
    Blue Prism Process Studio でプロセスを開きます。
  </Step>

  <Step title="コレクションを追加する">
    レイアウトにコレクションを追加します。
  </Step>

  <Step title="Collection Properties を開く">
    **Collection Properties** を開きます。
  </Step>

  <Step title="コレクションの fields をインポートする">
    **StartTransaction** アクションの **inputFiles** パラメーター用に、コレクションの fields をインポートします。

    1. **Import** をクリックします。
    2. **Business Object: ABBYY Vantage Skills** を選択します。
    3. **Action: StartTransaction** を選択します。
    4. **Parameter: inputFiles (input)** を選択します。
    5. **OK** をクリックします。これで、このコレクションを **StartTransaction** アクションの **inputFiles** 入力パラメーターに指定できるようになります。

    <Frame>
      <img src="https://mintcdn.com/abbyy/fsp_01hRYkHg4Ey_/images/vantage/developer/connectors/blue-prism/fields-import-input-files.png?fit=max&auto=format&n=fsp_01hRYkHg4Ey_&q=85&s=84fcb1576e8329459a227e14e682434a" alt="StartTransaction アクションで inputFiles (input) パラメーターが選択されている Fields Import ウィンドウ" width="799" height="628" data-path="images/vantage/developer/connectors/blue-prism/fields-import-input-files.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  **StartTransaction** アクションを呼び出す前に、コレクションに値を設定してください。
</Note>

**transactionRegistrationParameters** コレクションを作成するには、同じ手順を繰り返しますが、コレクションの fields をインポートする際に **transactionRegistrationParameters (input)** パラメーターを選択します。また、**transactionRegistrationParameters (input)** パラメーターを使用して **FileRegistrationParameters** コレクションを作成することもできます。

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

* [GetSkills アクション](/ja/vantage/connectors/blue-prism/actions/get-skills)
* [GetTransactionResult アクション](/ja/vantage/connectors/blue-prism/actions/get-transaction-result)
* [SaveTransactionResult アクション](/ja/vantage/connectors/blue-prism/actions/save-transaction-result)
