In our example, we will configure the integration to capture the event of "Order" creation from Salesforce.
Create Connection:
In the latest version, we don't need to provide the Salesforce URL. SFDC adapter will figure out the environment based on API version, Username and Instance Type.
Configure Outbound Message:
Before Creating the integration, we first need to configure the Outbound Messages in SFDC which will generate a WSDL.Login to Salesforce.
Click on Service Setup.
Search for Outbound Messages
Click New Outbound Message.
Select the Object as Order.
Select the Fields you want to capture on the event. Keep it minimal, since we can query the remaining information later.
Enter a dummy URL in Endpoint. This will be later changed to URL of OIC integration.
Click on WSDL and save it. Make sure to remove extra lines in the WSDL document.
Create Integration:
Select SFDC connection as the trigger point.
Select the WSDL you saved earlier.
Disable "Send a response".
Configure tracking and activate the Integration.
Configure WorkFlow Rules:
Search for Workflow Rules.
Click New Rule.
Select Order.
You can choose when the event should be triggered on below page.
Select Existing action to assign the outbound message we created earlier.
Save it and Don't forget to Activate the Workflow Rule.
Once activated, For every order created/updated our integration will be triggered.
Later we can update our Integration to query SFDC based the fields we received in the business event.