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

# useScheduledExportDialogValidity()

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: function
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.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).
> 

Reads the scheduled-export dialog's validity: whether submit is enabled, the validation message to show, whether the schedule's source widget still exists, and which recipient kinds the selected notification channel permits.

Derived per consumer rather than published on a context: it is a pure function of the draft, the recipient defaults and the dialog's own context, and no consumer observes its identity.

**Signature:**

```typescript
export declare function useScheduledExportDialogValidity(): IScheduledExportDialogValidity;
```
**Returns:**

[IScheduledExportDialogValidity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledexportdialogvalidity/index.md)
