> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# BatchTaskDefinition table

> Batch task definitiopns, populated from the SuperOffice.CRM.BatchProcessing.BatchTask attribute

## BatchTaskDefinition Table (244)

Batch task definitiopns, populated from the SuperOffice.CRM.BatchProcessing.BatchTask attribute

## Fields

| Name                      | Description                                                                                                                                                   | Type                            | Nullable |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | :------: |
| BatchTaskDefinition\_id   | Primary key                                                                                                                                                   | PK                              |    No    |
| name                      | Name of task (for monitoring and debugging)                                                                                                                   | String(254)                     |    No    |
| description               | Description of task (for monitoring and debugging)                                                                                                            | String(254)                     |    No    |
| isMultiPass               | Is this a multipass job (inner implementationis run repeatedly by the batch task framework)                                                                   | Bool                            |    No    |
| startInterval             | Minimum interval between successive starts; starts never overlap                                                                                              | Int                             |    No    |
| minimumSleepTime          | Minimum sleep interval between the end of one run and start of the next one                                                                                   | Int                             |    No    |
| timeout                   | Maximum allowed execution time; jobs are killed if they exceed their timeout; 0=no timeout                                                                    | Int                             |    No    |
| autoRestartCount          | Number of times the whole batch task should be restarted; -1 means infinite, which is useful for things like Travel Gateway that should 'always' be available | Int                             |    No    |
| assemblyVersion           | Version of the assembly that contains the code this batch task definition was populated from                                                                  | String(49)                      |    No    |
| registered                | Registered when                                                                                                                                               | UtcDateTime                     |    No    |
| registered\_associate\_id | Registered by whom                                                                                                                                            | FK [associate](./associate.mdx) |    No    |
| updated                   | 'heartbeat' that is updated once a minute by the batch task process                                                                                           | UtcDateTime                     |    No    |
| updated\_associate\_id    | 'heartbeat' that is updated once a minute by the batch task process                                                                                           | FK [associate](./associate.mdx) |    No    |
| updatedCount              | heartbeat' that is updated once a minute by the batch task process                                                                                            | UShort                          |    No    |

<img src="https://mintcdn.com/superofficeas-bugfix-ty-screen-designer-paradox/WQgdeH659bOa5gFL/media/loc/en/database/tables/BatchTaskDefinition.png?fit=max&auto=format&n=WQgdeH659bOa5gFL&q=85&s=eb11945e1122ca32f28e253da4ff0c5e" alt="BatchTaskDefinition table relationship diagram" width="720" height="59" data-path="media/loc/en/database/tables/BatchTaskDefinition.png" />

## Indexes

| Fields                | Types                   | Description |
| --------------------- | ----------------------- | ----------- |
| name                  | String(254)             | Index       |
| name, assemblyVersion | String(254), String(49) | Index       |

## Relationships

| Table                    | Description                                                                              |
| ------------------------ | ---------------------------------------------------------------------------------------- |
| [associate](./associate) | Employees, resources and other users - except for External persons                       |
| [BatchTask](./batchtask) | Batch task request details, corresponding to the message body of a batch request message |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.
