Skip to content

Commit e2461d4

Browse files
Merge pull request #241925 from SwathiDhanwada-MSFT/patch-89
(AzureCXP) fixes MicrosoftDocs/azure-docs#110978
2 parents a1fd6f7 + 02be9ab commit e2461d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-monitor/alerts/alerts-logic-apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ This example creates a logic app that uses the [common alerts schema](./alerts-c
116116

117117
1. Select **+** > **Add an action** to insert a new step.
118118
1. In the **Search** field, search for and select **Initialize variable**.
119-
1. In the **Name** field, enter the name of the variable, such as **AffectedResources**.
119+
1. In the **Name** field, enter the name of the variable, such as **AffectedResource**.
120120
1. In the **Type** field, select **Array**.
121121
1. In the **Value** field, select **Add dynamic Content**. Select the **Expression** tab and enter the string `split(triggerBody()?['data']?['essentials']?['alertTargetIDs'][0], '/')`.
122122

123123
:::image type="content" source="./media/alerts-logic-apps/initialize-variable.png" alt-text="Screenshot that shows the Parameters tab for the Initialize variable pane.":::
124124

125125
1. Select **+** > **Add an action** to insert another step.
126126
1. In the **Search** field, search for and select **Azure Resource Manager** > **Read a resource**.
127-
1. Populate the fields of the **Read a resource** action with the array values from the `AffectedResources` variable. In each of the fields, select the field and scroll down to **Enter a custom value**. Select **Add dynamic content**, and then select the **Expression** tab. Enter the strings from this table:
127+
1. Populate the fields of the **Read a resource** action with the array values from the `AffectedResource` variable. In each of the fields, select the field and scroll down to **Enter a custom value**. Select **Add dynamic content**, and then select the **Expression** tab. Enter the strings from this table:
128128

129129
|Field|String value|
130130
|---------|---------|
@@ -247,4 +247,4 @@ To trigger your logic app, create an action group. Then create an alert that use
247247
## Next steps
248248

249249
* [Learn more about action groups](./action-groups.md)
250-
* [Learn more about the common alert schema](./alerts-common-schema.md)
250+
* [Learn more about the common alert schema](./alerts-common-schema.md)

0 commit comments

Comments
 (0)