This example Data Stream demonstrates how to use this Action Agent to raise alerts for high or low temperatures in App Designer.
Drag the Run Recommendation Agent onto the canvas, link the input endpoint to the temperature data, and the output to the printer. Rename the Agent and save the Data Stream.
Select the Agent and click Configure. Keep the default Collection.
Set the Server Url and Key.
Set the entity identifier and decide whether you want to see new or all occurrences.
In this case, set the entity identifier to PumpId.
Apply the changes, save the Data Stream, and publish it.
Let's look at the Live Data View. The evaluated events are printed with the rule details appended. Observe the newly created Alerts appearing on the recommendations grid in App Designer.
Run Rec Example.xuc
Run Rec Example CSV.csv
Run Rec Example Rec.xr