# Get all batch instances

> `UiPath.Ephesoft.Activities.GetAllBatchInstances`

`UiPath.Ephesoft.Activities.GetAllBatchInstances`

Retrieves all active Batches with a specified status.

## Properties

### Common

* **DisplayName** (`String`) - The display name of the activity.

### Misc

* **Private** (`Boolean`) - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Options

* **Status** (`String`) - The status of batch instances to retrieve. Possible options are as follows:
  + **New**
  + **Ready**
  + **Running**
  + **Ready_For_Review**
  + **Ready_For_Validation**
  + **Error**
  + **Finished**
  + **Deleted**
  + **Restarted**
  + **Restart_In_Progress**
  + **Transferred**
  + **Remote**
  + **Shared_Folder_Error**
  + **License_Error**

### Output

* **BatchInstances** (`BatchInstance[ ]`) - A collection of batches with the indicated status that are currently being processed.

## Custom Classes

BatchInstance

* **BatchName** (`Single`) - The name given to the batch (possibly with the **Upload Batch** activity)
* **Executed Modules** (`Single`) - A list of modules (such as the extraction module) through which this batch has already passed.
* **Identifier** (`DataTable`) - A unique ID for this batch.
* **LocalFolder** (`EphesoftField[ ]`) - The location in the Folder Management section containing this batch.
* **UncSubFolder** (`Single`) - A specific folder in the Transact database into which a batch is placed when an instance of it is created.
