> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IScheduledExportDraftContextValue

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/automations/scheduledEmail/state/types.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The scheduled-export dialog's edit draft: the automation being edited, its baseline, the derived start date, the per-field validity flags, and the "Time zone" section's state.

Changes on every keystroke; consumers re-render by design.

**Signature:**

```typescript
export interface IScheduledExportDraftContextValue 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [canSelectScheduleTimezone](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvaluecanselectscheduletimezone) |  | boolean | **_(BETA)_** Whether the schedule may define its own export timezone (the "Time zone" section renders). |
| [defaultResolvedTimezone](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvaluedefaultresolvedtimezone) |  | string \| undefined | **_(BETA)_** Concrete timezone the dashboard-schedule Default option currently resolves to (display only). |
| [editedAutomation](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvalueeditedautomation) |  | [IAutomationMetadataObjectDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iautomationmetadataobjectdefinition/index.md) | **_(BETA)_** The schedule being edited; seeded from the saved schedule or the defaults for a new one. |
| [isCronValid](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvalueiscronvalid) |  | boolean | **_(BETA)_** Whether the recurrence form's cron expression is valid. |
| [isOnMessageValid](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvalueisonmessagevalid) |  | boolean | **_(BETA)_** Whether the e-mail message passes its validation. |
| [isSubjectValid](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvalueissubjectvalid) |  | boolean | **_(BETA)_** Whether the e-mail subject passes its validation. |
| [isTimezoneFeatureEnabled](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvalueistimezonefeatureenabled) |  | boolean | **_(BETA)_** The enableTimezoneChange setting; timezone-related presentation is gated by it. |
| [isTitleValid](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvalueistitlevalid) |  | boolean | **_(BETA)_** Whether the title passes the length limit. |
| [originalAutomation](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvalueoriginalautomation) |  | [IAutomationMetadataObjectDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iautomationmetadataobjectdefinition/index.md) | **_(BETA)_** The draft as it was when the dialog opened; the dirty check compares against it. |
| [scheduleTimezoneIsStale](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvaluescheduletimezoneisstale) |  | boolean | **_(BETA)_** True when the edited schedule cannot behave correctly as stored (widget schedule missing a dashboard-scoped timezone); feeds the apply-current-state confirmation. |
| [scheduleTimezoneSelection](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvaluescheduletimezoneselection) |  | [IScheduleTimezoneSelection](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduletimezoneselection/index.md) | **_(BETA)_** The "Time zone" section's current selection (the Default option or a concrete timezone). |
| [startDate](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdraftcontextvalue/index.md#ischeduledexportdraftcontextvaluestartdate) |  | Date | **_(BETA)_** The schedule's first run in the user's timezone, normalized for the recurrence form. |

## Property details

### IScheduledExportDraftContextValue.canSelectScheduleTimezone

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the schedule may define its own export timezone (the "Time zone" section renders).

**Signature:**

```typescript
canSelectScheduleTimezone: boolean;
```

### IScheduledExportDraftContextValue.defaultResolvedTimezone

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Concrete timezone the dashboard-schedule Default option currently resolves to (display only).

**Signature:**

```typescript
defaultResolvedTimezone: string | undefined;
```

### IScheduledExportDraftContextValue.editedAutomation

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The schedule being edited; seeded from the saved schedule or the defaults for a new one.

**Signature:**

```typescript
editedAutomation: IAutomationMetadataObjectDefinition;
```

### IScheduledExportDraftContextValue.isCronValid

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the recurrence form's cron expression is valid.

**Signature:**

```typescript
isCronValid: boolean;
```

### IScheduledExportDraftContextValue.isOnMessageValid

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the e-mail message passes its validation.

**Signature:**

```typescript
isOnMessageValid: boolean;
```

### IScheduledExportDraftContextValue.isSubjectValid

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the e-mail subject passes its validation.

**Signature:**

```typescript
isSubjectValid: boolean;
```

### IScheduledExportDraftContextValue.isTimezoneFeatureEnabled

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The enableTimezoneChange setting; timezone-related presentation is gated by it.

**Signature:**

```typescript
isTimezoneFeatureEnabled: boolean;
```

### IScheduledExportDraftContextValue.isTitleValid

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether the title passes the length limit.

**Signature:**

```typescript
isTitleValid: boolean;
```

### IScheduledExportDraftContextValue.originalAutomation

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The draft as it was when the dialog opened; the dirty check compares against it.

**Signature:**

```typescript
originalAutomation: IAutomationMetadataObjectDefinition;
```

### IScheduledExportDraftContextValue.scheduleTimezoneIsStale

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

True when the edited schedule cannot behave correctly as stored (widget schedule missing a dashboard-scoped timezone); feeds the apply-current-state confirmation.

**Signature:**

```typescript
scheduleTimezoneIsStale: boolean;
```

### IScheduledExportDraftContextValue.scheduleTimezoneSelection

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The "Time zone" section's current selection (the Default option or a concrete timezone).

**Signature:**

```typescript
scheduleTimezoneSelection: IScheduleTimezoneSelection;
```

### IScheduledExportDraftContextValue.startDate

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The schedule's first run in the user's timezone, normalized for the recurrence form.

**Signature:**

```typescript
startDate: Date;
```
