# StateTransitionBasic

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

Basic state transition info (for normal clients).

- **Full name:** `MFiles.StateTransitionBasic`
- **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 | The transition ID: the item ID of a State transition (99) value (value list 17). |
| <a id="f-name"></a>`name` | `string` | 2 | The name of the state transition. |
| <a id="f-from_state_id"></a>`from_state_id` | `int32` | 3 | From state ID. |
| <a id="f-to_state_id"></a>`to_state_id` | `int32` | 4 | To state ID. |
| <a id="f-can_current_user_select"></a>`can_current_user_select` | `bool` | 5 | True if the caller can use this transition. |
| <a id="f-are_state_transition_permissions_object_specific"></a>`are_state_transition_permissions_object_specific` | `bool` | 6 | Specifies if the selectable flag is affected by pseudo users. If true, the selectable flag can be trusted only if the available state transitions are requested for a specific objver. |
| <a id="f-description"></a>`description` | `string` | 7 | The client description of the state transition. |

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

## Used by methods

- [IRPCObjectOperations.GetWorkflowStatesAndTransitions](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetWorkflowStatesAndTransitions/index.md): Gets the states and transitions of the given workflow.

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

## Used in fields

- [`GetWorkflowStatesAndTransitionsResponse.transitions`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetWorkflowStatesAndTransitions/index.md#response): The transitions out of `current_state`; empty if it is unset.
