# WorkflowAdmin

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.WorkflowAdmin/

Workflow.

- **Full name:** `MFiles.WorkflowAdmin`
- **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-workflow"></a>`workflow` | [`Workflow`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Workflow/index.md) | 1 | Basic information on the workflow. |
| <a id="f-description"></a>`description` | `string` | 2 | The description of the workflow. |
| <a id="f-states"></a>`states` | repeated [`State`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.State/index.md) | 3 | The states of this workflow. |
| <a id="f-transitions"></a>`transitions` | repeated [`StateTransition`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.StateTransition/index.md) | 4 | The state transitions of this workflow. |
| <a id="f-acl"></a>`acl` | [`AccessControlList`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.AccessControlList/index.md) | 5 | Permissions. |
| <a id="f-aliases"></a>`aliases` | `string` | 6 | Semicolon-separated list of semantic aliases. |
| <a id="f-graphical_layout_data"></a>`graphical_layout_data` | `string` | 7 | Layout data of the workflow. |

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

## Used by methods

- [IRPCWorkflowsAdmin.AddWorkflow](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkflowsAdmin/AddWorkflow/index.md): Creates a workflow with its states and transitions.
- [IRPCWorkflowsAdmin.GetWorkflows](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkflowsAdmin/GetWorkflows/index.md): Gets the full administrative definitions of all workflows.
- [IRPCWorkflowsAdmin.ModifyWorkflow](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkflowsAdmin/ModifyWorkflow/index.md): Saves a changed workflow with its states and transitions.

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

## Used in fields

- [`WorkflowDecl.workflow`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.WorkflowDecl/index.md#f-workflow): Other information on the workflow.
- [`AddWorkflowRequest.workflow`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkflowsAdmin/AddWorkflow/index.md#request): The new workflow. `workflow.workflow.id` is ignored; give the states and transitions negative placeholder IDs.
- [`AddWorkflowResponse.workflow_result`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkflowsAdmin/AddWorkflow/index.md#response): The workflow as stored, with real IDs for the workflow, its states and its transitions.
- [`ModifyWorkflowRequest.workflow`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkflowsAdmin/ModifyWorkflow/index.md#request): The complete new workflow; `workflow.workflow.id` identifies it.
- [`ModifyWorkflowResponse.workflow_result`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkflowsAdmin/ModifyWorkflow/index.md#response): The workflow as stored, with real IDs for new states and transitions.
- [`GetWorkflowsResponse.workflow_results`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCWorkflowsAdmin/GetWorkflows/index.md#response): One [WorkflowAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.WorkflowAdmin/index.md) per workflow.
