The action identifier is newrelic.alerts.getNrqlCondition.
Retrieves the details of a single NRQL alert condition. Works for both static and baseline condition types.
The following table describes all available input fields for this action.
Input | Type | Description | Example |
|---|---|---|---|
accountId | Int | Required. The New Relic account that owns the condition. |
|
id | String | Required. The ID of the condition to retrieve. |
|
selectors | List | Optional. JQ selectors to extract values from the response. | |
The following table describes all output fields returned by this action.
Output | Type | Description |
|---|---|---|
success | Boolean |
|
errorMessage | String | Error message on failure. |
data | Map | NerdGraph response. Use |
The following example fetches a condition's current configuration.
Workflow example |
|---|
|