Example
Last updated
Last updated
This Data Stream example demonstrates how to use this Context Provider to retrieve Account records from Salesforce.
Drag the Salesforce Context Provider Agent onto the canvas. Link the output endpoint to the printer, rename it, and save the Data Stream.
Select the Agent and click Configure. In this case, keep the default collection and polling interval the same.
Tick to use variables and enter the Salesforce login details: username, password, and whether it is a sandbox.
Select the consumer key and secret.
Set the object to be retrieved. In this case, select Account.
Set a limit on the number of accounts returned. In this case, enter 5.
Apply the changes, save the Data Stream, and publish it.
Let's look at the Live Data View. Observe that 5 account records are printed every 10 seconds.
Data Stream
C0mp|ex123
See the article for steps to import a Data Stream.