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

# On Task Send To Stage

> On Task Send To Stage は、FlexiCapture のタスクが別のワークフローステージへ移る前に実行されます。CanSend パラメーターを使うと、スクリプトからその移動を中止できます。

<div id="when-it-is-launched">
  ## 起動時
</div>

このイベントハンドラーは、タスクが別のステージに移動される前に実行されます。

* **CanSend.Value** プロパティの値が **true** に設定されている場合、スクリプトの実行後にタスクは別のステージに移動します。
* **CanSend.Value** プロパティの値が **false** に設定されている場合、タスクは別のステージに移動しません。

デフォルトでは、**CanSend** パラメーターの値は **true** に設定されています。

<div id="parameters">
  ## パラメーター
</div>

| **Name** | **型**                                                               | **アクセス**  | **Description**            |
| -------- | ------------------------------------------------------------------- | --------- | -------------------------- |
| CanSend  | [IBoolean](/ja/flexi-capture/appendix/scripts-shell/iboolean)       | 読み取り/書き込み | タスクを別のステージに送信するかどうかを指定します。 |
| Context  | [ITaskWindow](/ja/flexi-capture/appendix/scripts-shell/itaskwindow) | 読み取り/書き込み | タスクウィンドウ。                  |
