# AutoStateTransitionMode

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

AutoStateTransitionMode enumeration.

- **Full name:** `MFiles.AutoStateTransitionMode`
- **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-AUTO_STATE_TRANSITION_MODE_NONE"></a>`AUTO_STATE_TRANSITION_MODE_NONE` | 0 | No automatic state transition. |
| <a id="v-AUTO_STATE_TRANSITION_MODE_RELATIVE_TIME"></a>`AUTO_STATE_TRANSITION_MODE_RELATIVE_TIME` | 1 | After the specified time period. eastmAssignmentCompleteOne = 2,  //!< After at least one user has marked the assignment complete. eastmAssignmentCompleteAll = 3,  //!< After all users have marked the assignment complete. |
| <a id="v-AUTO_STATE_TRANSITION_MODE_CRITERIA_FULFILLED"></a>`AUTO_STATE_TRANSITION_MODE_CRITERIA_FULFILLED` | 4 | Criteria fulfilled. |
| <a id="v-AUTO_STATE_TRANSITION_MODE_SCRIPT_FULFILLED"></a>`AUTO_STATE_TRANSITION_MODE_SCRIPT_FULFILLED` | 5 | Allowed by VBScript. |
| <a id="v-AUTO_STATE_TRANSITION_MODE_ASSIGNMENT_COMPLETE"></a>`AUTO_STATE_TRANSITION_MODE_ASSIGNMENT_COMPLETE` | 6 | After the all assignments has been marked complete. |
| <a id="v-AUTO_STATE_TRANSITION_MODE_ASSIGNMENT_REJECTED"></a>`AUTO_STATE_TRANSITION_MODE_ASSIGNMENT_REJECTED` | 7 | After the any assignment has been marked rejected. |

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

## Used in fields

- [`StateTransition.trigger_mode`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.StateTransition/index.md#f-trigger_mode): The selected mode for automatically triggered state transition.
