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

# IAutomationManagementDialogCallbacks

- 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/shared/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).
> 

Callbacks shared by the alerting and scheduled email management dialogs.

**Signature:**

```typescript
export interface IAutomationManagementDialogCallbacks 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [dashboardUrlBuilder?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationmanagementdialogcallbacks/index.md#iautomationmanagementdialogcallbacksdashboardurlbuilder) |  | [AutomationDashboardUrlBuilder](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.automationdashboardurlbuilder/index.md) | **_(BETA)_** _(Optional)_ Overrides the URL of the dashboard links. Defaults to the GoodData dashboard application. |
| [onAdd?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationmanagementdialogcallbacks/index.md#iautomationmanagementdialogcallbacksonadd) |  | () =&gt; void | **_(BETA)_** _(Optional)_ Called when the user asks to create a new automation from the management dialog. |
| [onClose?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationmanagementdialogcallbacks/index.md#iautomationmanagementdialogcallbacksonclose) |  | () =&gt; void | **_(BETA)_** _(Optional)_ Called when the user closes the management dialog. |
| [onEdit?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationmanagementdialogcallbacks/index.md#iautomationmanagementdialogcallbacksonedit) |  | (automation: [IAutomationMetadataObject](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iautomationmetadataobject/index.md)) =&gt; void | **_(BETA)_** _(Optional)_ Called when the user picks an automation to edit, with that automation. |

## Property details

### IAutomationManagementDialogCallbacks.dashboardUrlBuilder

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

Overrides the URL of the dashboard links. Defaults to the GoodData dashboard application.

**Signature:**

```typescript
dashboardUrlBuilder?: AutomationDashboardUrlBuilder;
```

### IAutomationManagementDialogCallbacks.onAdd

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

Called when the user asks to create a new automation from the management dialog.

**Signature:**

```typescript
onAdd?: () => void;
```

### IAutomationManagementDialogCallbacks.onClose

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

Called when the user closes the management dialog.

**Signature:**

```typescript
onClose?: () => void;
```

### IAutomationManagementDialogCallbacks.onEdit

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

Called when the user picks an automation to edit, with that automation.

**Signature:**

```typescript
onEdit?: (automation: IAutomationMetadataObject) => void;
```
