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

# GetAvailableTasks

> Listet mit der GetAvailableTasks-Methode der ABBYY FlexiCapture Web Services API die an einer Verarbeitungsstufe eines bestimmten Typs verfügbaren Aufgaben als Task-Array auf.

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

Gibt eine Liste der Aufgaben zurück, die in der Verarbeitungsstufe des angegebenen Typs verfügbar sind.

<Note>
  Wenn die Stufe Webstationen zulässt, werden der Liste nur vorverarbeitete Aufgaben hinzugefügt.
</Note>

<div id="definition">
  ## Definition
</div>

```
Task [] GetAvailableTasks( int sessionId, int projectId, int processingStage, bool onlyPrivateBatches);
```

<div id="parameters">
  ## Parameter
</div>

<table width="100%"><tbody><tr><td><p><strong>Name</strong></p></td><td><p><strong>Typ</strong></p></td><td><p><strong>Beschreibung</strong></p></td></tr><tr><td><p>sessionId</p></td><td><p>int</p></td><td><p>Die ID der Connection zum Application Server</p></td></tr><tr><td><p>projectId</p></td><td><p>int</p></td><td><p>Die ID des Projekts, für das die Aufgabenliste abgerufen werden soll</p></td></tr><tr><td><p>processingStage</p></td><td><p>int</p></td><td><p>Die ID des Stufentyps. Mögliche Werte: siehe <a href="/de/flexi-capture/api/structures/t-processing-stage-type">ProcessingStage</a>.</p></td></tr><tr><td><p>onlyPrivateBatches</p></td><td><p>bool</p></td><td><p>Dieses Flag legt fest, welche Batches verfügbar sind. Mögliche Werte:</p><ul><li><strong>True</strong> - nur Batches, die dem aktuellen Benutzer oder der aktuellen Benutzergruppe gehören, sind verfügbar;</li><li><strong>False</strong> - alle Batches sind verfügbar.</li></ul></td></tr></tbody></table>

<div id="returned-value">
  ## Rückgabewert
</div>

| **Typ**                                          | **Beschreibung**               |
| ------------------------------------------------ | ------------------------------ |
| [Task](/de/flexi-capture/api/structures/task)\[] | Liste der verfügbaren Aufgaben |
