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

# M-Files でワークフローを使用する

> ワークフローの状態を変更して、M-Files クライアントから FlexiCapture にファイルを送信します。このとき、vault、object type、class をマッピングする登録パラメーターが使用されます。

ファイルを ABBYY FlexiCapture に送信するには、M-Files client を開いて、次の操作を行います。

1. ファイルを必要な document vault に移動し、そのファイルを右クリックして、**Workflow** → **Change State…** をクリックします。
2. ワークフローと状態遷移を指定し、**OK** をクリックします。

上記の script により、バッチが ABBYY FlexiCapture に送信されます。このバッチには、事前定義の registration parameters が割り当てられます。これらの registration parameters には、次の情報が含まれます。

* **Repository** – ドキュメントの送信元の document vault。

<Note>
  "export from FlexiCapture" script では、**Repository** Parameter は使用されません。
</Note>

* **FolderPath** – M-Files document vault 内の object type name。
* **Template** – M-Files object type 内の class name。
* **FileName** – ドキュメントの name property に設定された値。

これらの registration parameters の値を使用して、元の M-Files document を更新できます。タグの使用方法の詳細については、[エクスポート設定の指定と field のマッピング](/ja/flexi-capture/connectors/m-files/mf-fields-config) を参照してください。

registration parameters の詳細については、[Registration parameters](/ja/flexi-capture/project-settings/reg-params) を参照してください。

FlexiCapture がファイルを受信すると、処理が開始されます。処理中、ファイルはまず Verification ステージ (Verification が設定されている場合) に送られ、その後 export ステージに送られます。export ステージでは、ABBYY FlexiCapture が抽出された fields を document に追加し、document を M-Files に送り返します。
