You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: clarify inputTopic routing works for both data flows and data flow graphs
- Rename 'Data flows: route by source topic' → 'Route by source topic' and clarify it applies to both data flows and data flow graphs
- Adjust DFG content-based routing section to frame it as an additional approach
Copy file name to clipboardExpand all lines: articles/iot-operations/connect-to-cloud/howto-configure-dataflow-destination.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: sethm
6
6
ms.service: azure-iot-operations
7
7
ms.subservice: azure-data-flows
8
8
ms.topic: how-to
9
-
ms.date: 03/19/2026
9
+
ms.date: 03/26/2026
10
10
ai-usage: ai-assisted
11
11
12
12
#CustomerIntent: As an operator, I want to configure the destination for a data flow or data flow graph.
@@ -173,9 +173,9 @@ destinationSettings:
173
173
174
174
For MQTT endpoints, you can use dynamic topic variables in the `dataDestination` field to route messages based on the source topic structure or message content.
175
175
176
-
### Data flows: route by source topic
176
+
### Route by source topic
177
177
178
-
In data flows, use the following variables to reference segments of the source topic:
178
+
In both data flows and data flow graphs, use the following variables to reference segments of the source topic in the `dataDestination` field:
179
179
180
180
- `${inputTopic}`: The full original input topic
181
181
- `${inputTopic.index}`: A segment of the input topic (index starts at 1)
@@ -223,7 +223,7 @@ destinationSettings:
223
223
224
224
### Data flow graphs: route by message content
225
225
226
-
In data flow graphs, you can set the destination topic dynamically based on message content by combining a map transform with the `${outputTopic}` variable:
226
+
Data flow graphs support an additional approach:you can set the destination topic dynamically based on message content by combining a map transform with the `${outputTopic}` variable:
227
227
228
228
1. In a map transform, write a value to `$metadata.topic` based on message content. For example, use an expression like `if($1 > 1000, "alerts", "historian")`.
229
229
2. In the destination, reference the value with `${outputTopic}` in the `dataDestination` field.
0 commit comments