# Enum.DraftStatusCode

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/DraftStatusCode/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/DraftStatusCode

Describes the state of a script draft tracked by [`DraftsService`](https://rapi.sleaze.dev/classes/DraftsService.md).

## Items

| Name | Value | Description |
| --- | --- | --- |
| `OK` | 0 | The draft is in sync with the server's base version and has no blocking conflicts. |
| `DraftOutdated` | 1 | The server version of the script has advanced beyond the base version used when the draft was created, so the draft must be updated before it can be committed. |
| `ScriptRemoved` | 2 | The script referenced by the draft no longer exists in the data model. |
| `DraftCommitted` | 3 | The draft was successfully committed to the server and removed from the local sandbox. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [DraftsService](https://rapi.sleaze.dev/classes/DraftsService.md): event parameter `CommitStatusChanged`, `UpdateStatusChanged`; method return `GetDraftStatus`
