# SolutionPhase enum

Namespace: [Grasshopper2.Doc](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.doc.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum SolutionPhase
```

Enumerates the possible solution states in which a document can occur.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Required | 0 | Indicates the document is out of date and a new solution is needed. |
| Running | 1 | Indicates objects are actually busy solving themselves as we speak. |
| Ending | 2 | Indicates all objects have been solved, and the solution is in cleanup mode. May also mean the solution was aborted, but is still in cleanup mode. |
| Completed | 3 | Indicates a solution has successfully completed and the document is up to date. |
| Cancelled | 4 | Indicates the most recent solution was aborted, either by the user or by some piece of code. |
| Faulted | 5 | Indicates that the solution ended with an exception. |
