Broadcasts changes to accounts in Siebel to Salesforce in real time. The detection criteria, and fields to move are configurable. Additional systems can be added to be notified of the changes. Real time synchronization is achieved via rapid polling of Siebel.
This template uses watermarking to ensure that only the most recent items are synchronized and batch to efficiently process many records at a time.
This template is subject to the conditions of the MuleSoft License Agreement. Review the terms of the license before downloading and using this template. You can use this template for free with the Mule Enterprise Edition, CloudHub, or as a trial in Anypoint Studio.
This Anypoint template serves as a foundation for setting an online sync of accounts from Oracle Siebel Business Objects to Salesforce. Every time there is a new account or a change in an already existing one, the template polls for changes from Oracle Siebel Business Objects source instance and updates the account in Salesforce target instance.
Requirements have been set not only to be used as examples, but also to establish a starting point to adapt your integration to your requirements.
This template leverages the Mule batch module.
The batch job is divided in Process and On Complete stages.
The integration is triggered by a scheduler defined in the flow. The template then makes a query for the newest Oracle Siebel Business Objects updates or creates matching a filtering criteria and executes the batch job. During the Process stage, each Siebel Account is filtered depending on existing matching Account in Salesforce. The last step of the Process stage groups the users and creates or updates them in Salesforce. Finally during the On Complete stage the template logs statistics data to the console.
To make this template run, there are certain preconditions that must be considered. All of them deal with the preparations in both source and destination systems, that must be made for the template to run smoothly. Failing to do so can lead to unexpected behavior of the template.
There are no considerations with using Salesforce as a data destination.
This template uses date time or timestamp fields from Oracle Siebel to do comparisons and take further actions. While the template handles the time zone by sending all such fields in a neutral time zone, it cannot discover the time zone in which the Siebel instance is on. It's up to you to provide this information. See Oracle's Setting Time Zone Preferences.
To make the Siebel connector work smoothly you have to provide the correct version of the Siebel JAR files that work with your Siebel installation. See more.
Simple steps to get this template running.
In this section we help you run this template on your computer.
If you are new to Mule, download this software:
Note: Anypoint Studio requires JDK 8.
In Studio, click the Exchange X icon in the upper left of the taskbar, log in with your Anypoint Platform credentials, search for the template, and click Open.
After you import your template into Anypoint Studio, follow these steps to run it:
mule.dev.properties, in src/main/resources.
Mule Application (configure).
mule.envto the value
Update the properties in one of the property files, for example in mule.prod.properties, and run your app with a corresponding environment variable. In this example, use
When creating your application in CloudHub, go to Runtime Manager > Manage Application > Properties to set the environment variables listed in "Properties to Configure" as well as the mule.env value.
Once your app is all set and started, there is no need to do anything else. Every time an account is created or modified, it automatically synchronizes to Salesforce by the account name.
In Studio, right click your project name in Package Explorer and select Anypoint Platform > Deploy on CloudHub.
To use this template, configure properties such as credentials, configurations, etc.) in the properties file or in CloudHub from Runtime Manager > Manage Application > Properties. The sections that follow list example values.
Oracle Siebel Business Objects Connector Configuration
Salesforce Connector Configuration
Salesforce imposes limits on the number of API calls that can be made. Therefore calculating this amount may be an important factor to consider. The template calls to the API can be calculated using the formula:
For instance if 10 records are fetched from the original instance, then 11 API calls are made (10 + 1).
This brief guide provides a high level understanding of how this template is built and how you can change it according to your needs. As Mule applications are based on XML files, this page describes the XML files used with this template. More files are available such as test classes and Mule application files, but to keep it simple, we focus on these XML files:
This file provides the configuration for connectors and configuration properties. Only change this file to make core changes to the connector processing logic. Otherwise, all parameters that can be modified should instead be in a properties file, which is the recommended place to make changes.
This file holds the functional aspect of the template, directed by a flow responsible for conducting the business logic.
The functional aspect of the template is implemented in this XML file, directed by a flow that polls for SalesForce creates or updates.
Several message processors constitute four high level actions that fully implement the logic of this template:
This file is formed by a flow containing the Scheduler that periodically query Siebel for updated or created accounts that meet the defined criteria in the query, and executes the batch job process with the query results.
This file handles how your integration reacts depending on the different exceptions. This file provides error handling that is referenced by the main flow in the business logic.
|Published on||Nov 14, 2018|