# ApplicationTaskQueueProcessingBehavior

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ApplicationTaskQueueProcessingBehavior/

Application task queue processing behavior enumeration. Defines the logic how tasks get consumed from the queue.

- **Full name:** `MFiles.ApplicationTaskQueueProcessingBehavior`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-APPLICATION_TASK_QUEUE_PROCESSING_BEHAVIOR_SEQUENTIAL"></a>`APPLICATION_TASK_QUEUE_PROCESSING_BEHAVIOR_SEQUENTIAL` | 0 | Tasks get processed in the same order they were added to the queue. |
| <a id="v-APPLICATION_TASK_QUEUE_PROCESSING_BEHAVIOR_CONCURRENT"></a>`APPLICATION_TASK_QUEUE_PROCESSING_BEHAVIOR_CONCURRENT` | 1 | Tasks may be processed concurrently without any particular order. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCApplicationTaskQueue.OpenTaskQueue](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCApplicationTaskQueue/OpenTaskQueue/index.md): Creates a task queue if it does not exist, or confirms an existing one.

<a id="used-in-fields"></a>

## Used in fields

- [`OpenTaskQueueRequest.queue_behavior`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCApplicationTaskQueue/OpenTaskQueue/index.md#request): `APPLICATION_TASK_QUEUE_PROCESSING_BEHAVIOR_SEQUENTIAL` to process the tasks one at a time in the order they were added, or `..._CONCURRENT` to process them in parallel.
