[SDK reference](../../index.md) / [Models](../index.md) / [Workflows](index.md)

# Execution

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Workflows`  

One run of a workflow's version. Its ID is its idempotency name: starting the same ID again returns the same execution.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Cause` | `string?` | `cause` | The cause property |
| `DurationMs` | `long?` | `durationMs` | How long it ran, in milliseconds (so far when it is running). |
| `EndTime` | `DateTimeOffset?` | `endTime` | The endTime property |
| `Error` | `string?` | `error` | The error name when it failed (an error name of the language, or one a `fail` state set). |
| `EventCount` | `int?` | `eventCount` | How many events the history holds. |
| `Input` | `UntypedNode?` | `input` | The input, truncated for display. |
| `Name` | `string?` | `name` | projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}. |
| `NextWakeTime` | `DateTimeOffset?` | `nextWakeTime` | When the next timer or the time limit falls due. |
| `Output` | `UntypedNode?` | `output` | The output when it succeeded, truncated for display. |
| `StartTime` | `DateTimeOffset?` | `startTime` | The startTime property |
| `StartedBy` | `string?` | `startedBy` | Who or what started it: the caller's name, or `trigger:{id}`. |
| `State` | `Models.Workflows.Execution_state?` | `state` | The state property |
| `StateStatuses` | `Models.Workflows.Execution_stateStatuses?` | `stateStatuses` | The state each state of the definition is in, for colouring the graph: RUNNING, WAITING, RETRYING, SUCCEEDED, FAILED, CAUGHT or CANCELLED. |
| `Transitions` | `int?` | `transitions` | How many states it entered. |
| `Uid` | `string?` | `uid` | The uid property |
| `Version` | `int?` | `version` | The version it runs. |
| `Workflow` | `string?` | `workflow` | The workflow's name. |
