Skip to content

Commit bc53f19

Browse files
authored
Update workaround steps and other clarity edits
1 parent 14141a3 commit bc53f19

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

articles/logic-apps/quickstart-create-example-consumption-workflow.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,25 +134,31 @@ This example uses an RSS trigger that checks an RSS feed, based on the specified
134134

135135
:::image type="content" source="media/quickstart-create-example-consumption-workflow/add-rss-trigger-settings.png" alt-text="Screenshot shows the RSS trigger settings, including RSS URL, frequency, interval, and others." lightbox="media/quickstart-create-example-consumption-workflow/add-rss-trigger-settings.png":::
136136

137-
1. This specific trigger requires a workaround due to double-encoding behavior. So, on the *designer* toolbar, select **Code view**.
137+
1. Save your workflow. On the designer toolbar, select **Save**.
138138

139-
> [!IMPORTANT]
140-
>
141-
> Don't select **Code view** in the trigger information pane, which opens code view in read-only mode.
139+
This step automatically publishes your logic app resource and workflow live in the Azure portal. However, the workflow doesn't do anything yet other than fire the trigger to check the RSS feed, based on the specified schedule. In a later section, you add an action to specify what you want to happen when the trigger fires.
142140

143-
1. In the code editor, find the line **`"feedUrl": "@{encodeURIComponent(encodeURIComponent(`https://feeds.content.dowjones.io/public/rss/RSSMarketsMain'))}"`**.
141+
1. Due to this **RSS** trigger's default double-encoding behavior, you have to edit the trigger definition and manually remove this behavior:
144142

145-
1. Remove the extra function named **`encodeURIComponent()`** so that you have only one instance, for example:
146-
147-
**`"feedUrl": "@{encodeURIComponent('https://feeds.content.dowjones.io/public/rss/RSSMarketsMain')}"`**
143+
1. On the *designer* toolbar, select **Code view**.
144+
145+
> [!IMPORTANT]
146+
>
147+
> Don't select the **Code view** tab in the trigger information pane. This tab opens code view in read-only mode.
148148
149-
You must make manually make this change to remove the double-encoding behavior.
149+
1. In the code editor, find the line **`"feedUrl": "@{encodeURIComponent(encodeURIComponent(`https://feeds.content.dowjones.io/public/rss/RSSMarketsMain'))}"`**.
150+
151+
1. Remove the extra function named **`encodeURIComponent()`** so that you have only one instance, for example:
150152

151-
1. Now, return to the designer. On the code editor toolbar, select **Designer**.
153+
**`"feedUrl": "@{encodeURIComponent(`https://feeds.content.dowjones.io/public/rss/RSSMarketsMain`)}"`**
152154

153-
1. Save your workflow. On the designer toolbar, select **Save**.
155+
1. Save the changes that you made. On the code editor toolbar, select **Save**.
156+
157+
Every time that you save changes to your workflow in the designer or code editor, Azure instantly publishes those changes live in the Azure portal.
158+
159+
1. Return to the designer. On the code editor toolbar, select **Designer**.
154160

155-
This step instantly publishes your logic app resource and workflow live in the Azure portal. However, the trigger only checks the RSS feed without taking any other actions. So, you need to add an action to specify what you want to happen when the trigger fires.
161+
In the next section, you specify the action to take when the trigger condition is met, which causes the trigger to fire.
156162

157163
<a name="add-email-action"></a>
158164

0 commit comments

Comments
 (0)