Skip to content

Commit 566b4ba

Browse files
authored
Updated CR per OPC UA payload. Delete asset as destination section.
1 parent 9166fb7 commit 566b4ba

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

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

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,37 +38,22 @@ spec:
3838
- operationType: builtInTransformation
3939
name: my-transformation
4040
builtInTransformationSettings:
41-
datasets:
42-
- key: erp
43-
inputs:
44-
- $source.DataSetWriterName
45-
- $context(erp).asset
46-
condition: $1 == $2
4741
filter:
4842
- inputs:
49-
- payload.temperature.Value
50-
- payload.Tag 10.Value
51-
expression: "$1 * $2 < 100000"
43+
- 'temperature.Value'
44+
- '"Tag 10".Value'
45+
expression: "$1*$2<100000"
5246
map:
5347
- inputs:
54-
- Timestamp
55-
output: Timestamp
48+
- '*'
49+
output: '*'
5650
- inputs:
57-
- payload.temperature.Value
51+
- temperature.Value
5852
output: TemperatureF
5953
expression: cToF($1)
6054
- inputs:
61-
- 'payload."Tag 10".Value'
55+
- '"Tag 10".Value'
6256
output: 'Tag 10'
63-
- inputs:
64-
- DataSetWriterName
65-
output: Asset
66-
- inputs:
67-
- $context(erp).location
68-
output: Location
69-
- inputs:
70-
- $context(erp).status
71-
output: Status
7257
serializationFormat: json
7358
- operationType: destination
7459
name: my-destination
@@ -263,9 +248,6 @@ To configure a destination for the dataflow, you need to specify the endpoint an
263248
| destinationSettings.endpointRef | Reference to the *destination* endpoint |
264249
| destinationSettings.dataDestination | Destination for the data |
265250

266-
### Use Asset as destination
267-
268-
You can use an [asset](../discover-manage-assets/overview-manage-assets.md) as the destination for the dataflow. Managing assets is only available in the Azure portal.
269251

270252
### Configure destination endpoint reference
271253

0 commit comments

Comments
 (0)