# State diagram

The following diagram shows the state (status) transition process of a program in the platform. It shows the possible states a program can have and the transition between those states.

<figure><img src="/files/WzhcKOqXz1l9GveRMJol" alt=""><figcaption><p>The state transition diagram of a program.</p></figcaption></figure>

<table data-full-width="false"><thead><tr><th width="152">State</th><th>Definition</th></tr></thead><tbody><tr><td><strong>New</strong></td><td>This is the initial status, and it's assigned by the platform when the program is created.</td></tr><tr><td><strong>Draft</strong></td><td>The program creation has begun, but it hasn’t been published.</td></tr><tr><td><strong>Published</strong></td><td>The program has been published and it's available in the Marketplace.</td></tr><tr><td><strong>Unpublished</strong></td><td>The program has been unpublished, and it's no longer available for new enrollments in the Marketplace.</td></tr><tr><td><strong>Deleted</strong></td><td>The  program has been deleted.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.platform.softwareone.com/developer-resources/rest-api/program-api/program/program-state-diagram.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
