# ElectronicSignatureContext

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

Signature reason/meaning prompt mode enumeration.

- **Full name:** `MFiles.ElectronicSignatureContext`
- **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-ELECTRONIC_SIGNATURE_CONTEXT_STATE_TRANSITION"></a>`ELECTRONIC_SIGNATURE_CONTEXT_STATE_TRANSITION` | 0 | The electronic signature is associated with a state transition. The electronic signature context id identifies the state transition. |
| <a id="v-ELECTRONIC_SIGNATURE_CONTEXT_ASSIGNMENT_COMPLETION"></a>`ELECTRONIC_SIGNATURE_CONTEXT_ASSIGNMENT_COMPLETION` | 1 | The electronic signature is associated with a assignment class. It is prompted when an assignment is marked as complete. |
| <a id="v-ELECTRONIC_SIGNATURE_CONTEXT_ASSIGNMENT_APPROVAL"></a>`ELECTRONIC_SIGNATURE_CONTEXT_ASSIGNMENT_APPROVAL` | 2 | The electronic signature is associated with a assignment class. It is prompted when an assignment is approved. |
| <a id="v-ELECTRONIC_SIGNATURE_CONTEXT_ASSIGNMENT_REJECTION"></a>`ELECTRONIC_SIGNATURE_CONTEXT_ASSIGNMENT_REJECTION` | 3 | The electronic signature is associated with a assignment class. It is prompted when an assignment is rejected. |

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

## Used in fields

- [`ElectronicSignatureRequest.context`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ElectronicSignatureRequest/index.md#f-context): The electronic signature context identifier.
