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

# IAlertSubmitState

- 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/alerting/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 alerting dialog's submit path.

**Signature:**

```typescript
export interface IAlertSubmitState 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [isSaving](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertsubmitstate/index.md#ialertsubmitstateissaving) |  | boolean | **_(BETA)_** Whether a create or save is in flight. |
| [submit](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertsubmitstate/index.md#ialertsubmitstatesubmit) |  | () =&gt; Promise&lt;void&gt; | **_(BETA)_** Creates the alert (no `alertToEdit`) or saves the edited one; a second call while one is in flight is ignored. |

## Property details

### IAlertSubmitState.isSaving

> **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 a create or save is in flight.

**Signature:**

```typescript
isSaving: boolean;
```

### IAlertSubmitState.submit

> **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).
> 

Creates the alert (no `alertToEdit`) or saves the edited one; a second call while one is in flight is ignored.

**Signature:**

```typescript
submit: () => Promise<void>;
```
