Example

This example Data Stream demonstrates how to use this Action Agent to raise alerts for high or low temperatures in App Designer.

Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

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.

Step 2: Configure General

Select the Agent and click Configure. Keep the default Collection.

Step 3: Configure Server

Set the Server Url and Key.

Step 4: Configure Entity

Set the entity identifier and decide whether you want to see new or all occurrences.

In this case, set the entity identifier to PumpId.

Step 5: Results

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.

Files

See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.

Last updated