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

# useAlertingManagementDialogContext()

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

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Reads the alerting management dialog context.

A replacement for the alerting management dialog renders inside this context and reads the current user, the dashboard it's rendered on, the widget/insight lookups (`getWidgetByRef`, `getInsightByWidgetRef`), and the pause/resume callbacks from here.

Some members exist to wire internal machinery (`automationsInvalidationId`, `managementDialogContext`) and are not intended as a customization surface.

**Signature:**

```typescript
export declare function useAlertingManagementDialogContext(): IAlertingManagementDialogContextValue;
```
**Returns:**

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