Skip to content

Commit 90b51e2

Browse files
committed
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
1 parent a86cae1 commit 90b51e2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

articles/iot-operations/connect-to-cloud/howto-configure-dataflow-destination.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: sethm
66
ms.service: azure-iot-operations
77
ms.subservice: azure-data-flows
88
ms.topic: how-to
9-
ms.date: 03/19/2026
9+
ms.date: 03/26/2026
1010
ai-usage: ai-assisted
1111

1212
#CustomerIntent: As an operator, I want to configure the destination for a data flow or data flow graph.
@@ -173,9 +173,9 @@ destinationSettings:
173173

174174
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.
175175

176-
### Data flows: route by source topic
176+
### Route by source topic
177177

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:
179179

180180
- `${inputTopic}`: The full original input topic
181181
- `${inputTopic.index}`: A segment of the input topic (index starts at 1)
@@ -223,7 +223,7 @@ destinationSettings:
223223

224224
### Data flow graphs: route by message content
225225

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:
227227

228228
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")`.
229229
2. In the destination, reference the value with `${outputTopic}` in the `dataDestination` field.

0 commit comments

Comments
 (0)