Example
This example Data Stream demonstrates how to use these Agents to listen for a specific Recommendation's Action Requests, send low-inventory notifications, and close the Action Request.
Refer to the configuration for the Read Action Request and Close Action Request to understand all configuration options of these agents.
Drag the Read Action Request Recommendation Agent onto the canvas and link the output endpoint to the Deserialize Parameters JSON Agent.
Drag the Close Action Request Recommendation Agent onto the canvas, link the input endpoint to the Record Inventory Request Agent, and the output to the Event Printer. Save the Data Stream.

Select the Read Action Request Agent and click Configure. Keep the default Collection and polling interval.

Set the App Designer Url and Key.
Select the Filter Type and criteria to monitor. In this case, set Filter Type to Recommendation Form, Form to Action Request Example Form, and Recommendation (optional) to Action Request Example Recommendation.

Apply the changes and save the Data Stream.

Select the Close Action Request Agent and click Configure. Keep the default Collection and polling interval.

Set the App Designer Url and Key, then select the Action Id. As the events from the Read Action Request have not been altered by the intervening Stream Objects, use the RequestId attribute.

Apply the changes and save the Data Stream.

Publish the Data Stream and open the Live Data View. No data will flow until you press a button on a Form in an Alert belonging to the Recommendation chosen in step 2.
Open an alert for that Recommendation, fill in some values, and click a button. It will be read by the Read Action Request, the inventory requested, and the request closed, and finally printed.

File | Link | Security Key |
---|---|---|
Data Stream | Action Request.xuc | C0mp|ex123 |
Recommendation | Action Request Rec.xr | C0mp|ex123 |
Form | Action Request Form.xfm | C0mp|ex123 |
Last modified 6mo ago