This example Data Stream demonstrates how to use this Agent to close Recommendations that have been addressed from an external system. This example is designed to work with the Read Recommendation Example to receive Alerts to close via the MQTT Listener.
For the sake of this example, first confirm that Alerts exist that can be closed.
Drag the Resolve Recommendation Agent onto the canvas, link the input endpoint to the work order data, the output to the printer, and save the Data Stream.
Select the Agent and click Configure. Keep the default Collection.
Enter values for the URL and Key settings.
Set the Notification Id to identify the recommendation alert. In this case, use the Id property as this is the value used in the Read Recommendation example.
Apply the changes, save the Data Stream and publish it.
Let's look at the Live Data View: the closed work order alerts are printed. Observe that the status of 2 of the original 4 Alerts changed from pending to resolved, and so were removed from the grid.
Resolve Rec Example.xuc