Skip to content

Commit 8c58124

Browse files
committed
Updated intro
1 parent 34b1893 commit 8c58124

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/iot-hub/iot-hub-how-to-order-connection-state-events.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ ms.author: asrastog
1212

1313
# Order device connection events from Azure IoT Hub using Azure Cosmos DB
1414

15-
[Azure Event Grid](/azure/event-grid/overview) helps you build event-based applications and easily integrates IoT events in your business solutions. This article walks you through a setup using Cosmos DB, Logic App, IoT Hub Events, and a simulated Raspberry Pi to track, collect, and store connection and disconnection events of a device.
15+
[Azure Event Grid](/azure/event-grid/overview) helps you build event-based applications and easily integrates IoT events in your business solutions. This article walks you through a setup using Cosmos DB, Logic App, IoT Hub Events, and a simulated Raspberry Pi to collect and store connection and disconnection events of a device.
1616

1717
From the moment your device runs, an order of operations activates:
1818

1919
1. The Pi device, using your IoT hub device key, is started and then stopped
2020
1. An IoT Hub event captures the device activity, then sends an HTTP request to your Logic App
21-
1. The Logic App processes the HTTP request with a condition you set (to track the connections and disconnections of your device)
22-
1. The Logic App tracks and stores the latest device connection state in Cosmos DB
21+
1. The Logic App processes the HTTP request based on a condition you set
22+
1. The Logic App logs connection or disconnection events into a new document in Cosmos DB
2323

2424
<!--
2525
A sequence number is used in the *Device Connected* and *Device Disconnected* to track and order events.

0 commit comments

Comments
 (0)