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

# GetCurrentTask

> 接続IDを使用して、ABBYY FlexiCapture Web Services API の GetCurrentTask メソッドでセッションの現在のタスクのIDを取得します。

<div id="what-it-does">
  ## 機能
</div>

現在のタスクのIDを返します。

<div id="definition">
  ## 定義
</div>

```
int GetCurrentTask( int sessionId );
```

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

| **名前**    | **型** | **説明**                     |
| --------- | ----- | -------------------------- |
| sessionId | int   | Application Server への接続のID |

<div id="returned-value">
  ## 戻り値
</div>

| **型** | **説明** |
| ----- | ------ |
| int   | タスクID  |
