Example
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.
Refer to configuration to understand all configuration options of this Agent.
Preparation
For the sake of this example, first confirm that Alerts exist that can be closed.
Step 1: Add the Agent
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.
Step 2: Configure General
Select the Agent and click Configure. Keep the default Collection.
Step 3: Configure Server
Enter values for the URL and Key settings.
Step 4: Configure Notification ID
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.
Step 5: Results
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.
Files
See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.
Last updated