Setup in Salesforce
- In SmartConnect navigate to System > API Settings
- Save the value in the API Service URL field.
- Log into the Salesforce Environment as an administrator.
- Go to Setup > Remote Site > Settings.
- Click New Remote Site.
- Remote Site Name – Friendly name to identify the remote site.
- Remote Site URL – Url copied in step 2.
- Click Save.
Setup in SmartConnect
- Navigate to Data Sources > Realtime Triggers.
- On the Realtime Triggers page click Create Realtime Trigger.
- Select Salesforce Real-Time Data Source.
- Description – Friendly name for the Trigger.
- Connection – Salesforce connection to be used.
- Organization – Organization from Salesforce connector to be used.
- Click Validate to load Salesforce Object list.
- Salesforce Entity – Select the Salesforce object to track changes against.
- Trigger On Column Change – select the column(s) that will cause the trigger to run when changed.
- View/Edit SOQL – Allows the user to view the SOQL query for the data source and to make any changes to the query.
- Log Action – Use this option to select what, if anything, should be logged when the trigger runs. The options are: Always Save, Save Failures, Save Successes, None.
- Edit Tests: Optionally, navigate here to customize Apex Test class prior to migrating customizations to Production environment.
- Click Save.
- Navigate to Processes > Integration Processes > Click Add new.
- Provide an Integration Id and Description.
- Click on the Source tab
- Source Type – Select Real-Time Event.
- Source – Select Salesforce Real-Time Data Source.
- Entity – Select the previously configured data source.
- Organization – Will automatically populate with the organization from data source.
- Columns – Will automatically populate with trigger columns from data source.
- Add at least one field to the Group By list
- Map at least one field to the destination to save the integration.
- Click Save.
- Click Register.
- Click Validate.
- Click Save.
- At the bottom of the Data Source Screen, check boxes for events that will trigger the integration.
- Click Register.
- Trigger is now registered in Salesforce.