Skip to content

Commit 5554478

Browse files
authored
Merge pull request #178926 from msjasteppe/iot-custom-functions-edit
Minor edits.
2 parents b494c98 + 2fe6306 commit 5554478

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

articles/healthcare-apis/iot/iot-connector-custom-functions.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.author: jasteppe
1414
> [!IMPORTANT]
1515
> Azure Healthcare APIs is currently in PREVIEW. The [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) include additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
1616
17-
Many functions are available when using **JmesPath** as the expression language. Besides the functions available as part of the JmesPath specification, many custom functions may also be used. This article describes IoT connector-specific custom functions for use with the Device mapping template during the normalization process.
17+
Many functions are available when using **JmesPath** as the expression language. Besides the functions available as part of the JmesPath specification, many custom functions may also be used. This article describes IoT connector-specific custom functions for use with the Device mappings template during the normalization process.
1818

1919
> [!TIP]
2020
> For more information on JmesPath functions, see the JmesPath [specification](https://jmespath.org/specification.html#built-in-functions).
@@ -57,7 +57,7 @@ Examples:
5757

5858
| Given | Expression | Result |
5959
|-----------------------------|------------------|--------|
60-
| n/a | add(`10`, `10`) | 20 |
60+
| n/a | add(10, 10) | 20 |
6161
| {"left": 40, "right": 50} | add(left, right) | 90 |
6262
| {"left": 0, "right": 50} | add(left, right) | 50 |
6363

@@ -73,7 +73,7 @@ Examples:
7373

7474
| Given | Expression | Result |
7575
|-----------------------------|---------------------|----------------------------------|
76-
| n/a | divide(`10`, `10`) | 1 |
76+
| n/a | divide(10, 10) | 1 |
7777
| {"left": 40, "right": 50} | divide(left, right) | 0.8 |
7878
| {"left": 0, "right": 50} | divide(left, right) | 0 |
7979
| {"left": 50, "right": 0} | divide(left, right) | mathematic error: divide by zero |
@@ -90,7 +90,7 @@ Examples:
9090

9191
| Given | Expression | Result |
9292
|-----------------------------|-----------------------|--------|
93-
| n/a | multiply(`10`, `10`) | 100 |
93+
| n/a | multiply(10, 10) | 100 |
9494
| {"left": 40, "right": 50} | multiply(left, right) | 2000 |
9595
| {"left": 0, "right": 50} | multiply(left, right) | 0 |
9696

@@ -106,7 +106,7 @@ Examples:
106106

107107
| Given | Expression | Result |
108108
|-------------------------------|------------------|----------------------------|
109-
| n/a | pow(`10`, `10`) | 10000000000 |
109+
| n/a | pow(10, 10) | 10000000000 |
110110
| {"left": 40, "right": 50} | pow(left, right) | mathematic error: overflow |
111111
| {"left": 0, "right": 50} | pow(left, right) | 0 |
112112
| {"left": 100, "right": 0.5} | pow(left, right) | 10 |
@@ -123,7 +123,7 @@ Examples:
123123

124124
| Given | Expression | Result |
125125
|-----------------------------|-----------------------|--------|
126-
| n/a | subtract(`10`, `10`) | 0 |
126+
| n/a | subtract(10, 10) | 0 |
127127
| {"left": 40, "right": 50} | subtract(left, right) | -10 |
128128
| {"left": 0, "right": 50} | subtract(left, right) | -50 |
129129

@@ -186,9 +186,7 @@ Examples:
186186

187187
## Next steps
188188

189-
For more information about using the IoT connector custom functions with Device mappings, see:
190-
191-
In this article, you learned how to use custom functions. Learn how to use Device mappings, see
189+
In this article, you learned how to use IoT connector custom functions. To learn how to use Device mappings, see
192190

193191
>[!div class="nextstepaction"]
194192
>[How to use Device mappings](how-to-use-device-mapping-iot.md)

0 commit comments

Comments
 (0)