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
Copy file name to clipboardExpand all lines: articles/iot-operations/connect-to-cloud/howto-dataflow-graphs-map.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ai-usage: ai-assisted
17
17
18
18
A map transform takes each incoming message and produces an output message based on your rules. You can rename fields, reorganize them into new structures, compute derived values, or remove unwanted fields. Wildcard rules let you copy all fields at once.
19
19
20
-
<!--For an overview of data flow graphs and how transforms compose in a pipeline, see [Data flow graphs overview](concept-dataflow-graphs.md).-->
20
+
For an overview of data flow graphs and how transforms compose in a pipeline, see [Data flow graphs overview](concept-dataflow-graphs.md).
21
21
22
22
## Prerequisites
23
23
@@ -228,7 +228,7 @@ To scale a sensor reading:
228
228
229
229
---
230
230
231
-
<!-- For the complete list of operators, functions, and advanced features, see [Expressions reference](concept-dataflow-graphs-expressions.md). -->
231
+
For the complete list of operators, functions, and advanced features, see [Expressions reference](concept-dataflow-graphs-expressions.md).
232
232
233
233
## Copy all fields with wildcards
234
234
@@ -393,7 +393,7 @@ The map transform applies the specific rule to `temperature` and copies all othe
393
393
394
394
## Use metadata fields
395
395
396
-
<!-- You can read from and write to message metadata like MQTT topics and user properties. See [Metadata fields](concept-dataflow-graphs-expressions.md#metadata-fields) in the expressions reference. -->
396
+
You can read from and write to message metadata like MQTT topics and user properties. See [Metadata fields](concept-dataflow-graphs-expressions.md#metadata-fields) in the expressions reference.
397
397
398
398
# [Operations experience](#tab/portal)
399
399
@@ -430,7 +430,7 @@ For a complete example of dynamic topic routing, see [Route messages to differen
430
430
431
431
## Use last known value and defaults
432
432
433
-
<!-- When sensor data arrives intermittently, you can fill in missing fields with the last known value or a static default. See [Last known value](concept-dataflow-graphs-expressions.md#last-known-value) and [Default values](concept-dataflow-graphs-expressions.md#default-values) in the expressions reference. -->
433
+
When sensor data arrives intermittently, you can fill in missing fields with the last known value or a static default. See [Last known value](concept-dataflow-graphs-expressions.md#last-known-value) and [Default values](concept-dataflow-graphs-expressions.md#default-values) in the expressions reference.
434
434
435
435
# [Operations experience](#tab/portal)
436
436
@@ -459,15 +459,15 @@ This rule uses the current value when present, falls back to the last known valu
459
459
460
460
## Enrich with external data
461
461
462
-
<!-- You can augment messages with data from an external state store by configuring datasets. For example, look up a device's metadata by its ID and include it in the output. For details, see [Enrich with external data](howto-dataflow-graphs-enrich.md). -->
462
+
You can augment messages with data from an external state store by configuring datasets. For example, look up a device's metadata by its ID and include it in the output. For details, see [Enrich with external data](howto-dataflow-graphs-enrich.md).
463
463
464
464
## Full configuration example
465
465
466
466
Here's a complete map configuration that copies all fields, removes sensitive data, restructures a field, and computes a derived value:
467
467
468
468
# [Operations experience](#tab/portal)
469
469
470
-
<!--  -->
470
+

471
471
472
472
In the Operations experience, create a data flow graph and add a map transform. In the map configuration panel, add rules to:
473
473
@@ -572,14 +572,14 @@ The rules configuration is a JSON string placed as the `value` for the `rules` k
572
572
}
573
573
```
574
574
575
-
<!-- For the full `DataflowGraph` resource structure, see [Data flow graphs overview](concept-dataflow-graphs.md#how-configuration-works). -->
575
+
For the full `DataflowGraph` resource structure, see [Data flow graphs overview](concept-dataflow-graphs.md#how-configuration-works).
576
576
577
577
---
578
578
579
579
## Next steps
580
580
581
-
<!-- - [Filter and route data](howto-dataflow-graphs-filter-route.md)
581
+
- [Filter and route data](howto-dataflow-graphs-filter-route.md)
582
582
- [Aggregate data over time](howto-dataflow-graphs-window.md)
583
583
- [Enrich with external data](howto-dataflow-graphs-enrich.md)
584
584
- [Route messages to different topics](howto-dataflow-graphs-topic-routing.md)
0 commit comments