# Workflow

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) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

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

Basic workflow.

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

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-id"></a>`id` | `int32` | 1 | Workflow ID. |
| <a id="f-name"></a>`name` | `string` | 2 | The name of the workflow. |
| <a id="f-object_class_id"></a>`object_class_id` | `int32` | 3 | The class this workflow can be used with. |
| <a id="f-description"></a>`description` | `string` | 6 | The user description of the workflow. |
| <a id="f-reserved1_obsolete"></a>`reserved1_obsolete` | `uint32` | 4 | Reserved, must be zero. |
| <a id="f-reserved2_obsolete"></a>`reserved2_obsolete` | `uint32` | 5 | Reserved, must be zero. |

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

## Used by methods

- [IRPCObjectOperations.GetWorkflowsForClient](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetWorkflowsForClient/index.md): Gets all the workflows in a format suitable for client.

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

## Used in fields

- [`WorkflowAdmin.workflow`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.WorkflowAdmin/index.md#f-workflow): Basic information on the workflow.
- [`GetWorkflowsForClientResponse.workflows`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetWorkflowsForClient/index.md#response): Results Array.
