Scenario based Interview Questions on Salesforce Integration

Typically mastering Integration concepts look difficult to lots of Salesforce Developers. This specific write-up is going to cover all of the Interview questions on salesforce integration concepts like Salesforce Connect, Streaming API, SOAP API, Bulk API, Salesforce two Salesforce, Data Replication API, Outbound Message, Concurrent Limit, REST API, Integration basic principles and lightning scenario based interview questions.

SALESFORCE CONNECT

Q. How Does Salesforce Connect Work?

Salesforce Connect works on a characteristic called outside objects, that is as custom objects on Salesforce, except the data lives in another product. An outside object definition includes the outside link to the device in which the object information is stored. In order to use outside objects, Salesforce Connect utilizes several authentication settings.

Q. Explain the adaptors Salesforce Connect use?

Salesforce Connect relies on a protocol-specific adapter to hook up to an outside access and program the data of its. You will find 3 kind of adaptors

cross org offers a chance to access information in an additional Salesforce org through the Salesforce API. together with the cross-org adapter, Salesforce Connect uses Lightning Platform REST API getting information from various other Salesforce orgs, allowing you to connect data with point-and-click tools.

OData hooks up to the system which supports the OData 2.0 or maybe 4.0 protocol (a REST API for information interchange) for valuable business insights from outside data sources. Once again, with Lightning Platform, Salesforce Connect interacts with outside data by outside objects, converting interactions into OData queries that have details to filter results.

Apex custom adapter is code written in Salesforce’s Apex language with the Apex Connector Framework getting information from data sources. With Lightning Platform, Salesforce Connect uses the code if you perform certain functions, like managing a report, which means you are able to hook up to information sources for greater insights into the company of yours.

Q. What exactly are Files Connect Adapters?

Many Files Connect adapters also are available:

Google Drive
Box
SharePoint Online
OneDrive for Business

Q. How to work with Salesforce Connect?

Integrations with considerable amounts of data you do not wish to copy into the org of yours.

Integrations with small quantities of information that you have to present.

Data that you need a real time connection.

Q. What exactly are the Advantages of Salesforce Connect?

Read/write from anywhere: Salesforce Connect enables you to develop, update, read, and delete data in outside energy sources in real time.
Custom Adapters for just about any web API: Developers are able to connect Salesforce to almost any web API.
Connectors: Connect several Salesforce orgs across the company of yours.

Q. What is the gap Between Salesforce Connect and Lightning Connect?

Lightning Connect will be the characteristic of Salesforce Connect that enables you to access data from outside sources and also compare it with Salesforce data side-by-side.

Q. What exactly are Salesforce Connect Limitations?

Salesforce Connect limits data resources to connectors with API support.
Salesforce Connect limits data resources to connectors where developers wrote code to hook up to all those items.
Salesforce demands the implementation of a search capability for every outside object you search.
Connections have callout limit, meaning Salesforce org may just call a connector 20,000 times a hour

One of the leading limitation is the fact that outside objects need a typical element between Salesforce objects as well as the outside phone system to relate Salesforce indigenous and/or custom objects on the outside object.

Q. What’s benefit of lightning connect over API?

players that are Big as Microsoft, SAP are supporting the from box.
Data isn’t kept in SFDC so that you are going to save cost on space.
Data are going to be constantly real-time.
You do not require some improvement attempt to link SFDC with outside applications, Even Admins or business users are able to employ point and click to incorporate.
If you’ve lightning connect license, you are able to hook up to outside system whenever with no code.

Q. An org got to a place, in which data usage is more than limit. Over sixty five % of that information is old/disabled data. Nevertheless, that information must nevertheless be accessible to other owners of SF to see (it hold’s historical information). The concept ended up being to take/export/delete almost all historic information (periodically) and publish it to the next server, which may host it, with a SF visible page (or maybe some other option) to find out the information.

What’s the most effective solution?

External objects let you keep the information off platform but utilize an unique type of Custom Object to open it.

Track and also represent information from sources outside Salesforce by producing outside objects. Each outside object maps to a table in a data source outside Salesforce, and also enables you to create a chance to access the data of its from search & customized tabs in Salesforce. Each outside object depends on the relationship details kept in an external data source definition.

Q. What exactly are Custom Platform Events?

Use custom platform events to post and process custom notifications. For instance, publish custom platform events to transmit order info to an order fulfillment service. Or perhaps post custom platform events to transmit printer ink info that’s prepared by a service app.

You define a custom platform event in Salesforce in the exact same way you define a custom object. Create a platform event meaning by providing it a name and including custom fields.

Q. What exactly are Standard Platform Events?

Salesforce supplies events with predefined fields, known as regular platform events. A good example of a regular platform event is AssetTokenEvent, which monitors OAuth 2.0 authentication activity. One more example is BatchApexErrorEvent, that reports errors came across in batch Apex jobs.

Salesforce publishes regular platform events in reaction to an activity which came about in the app or maybe mistakes in batch Apex jobs. You may sign up for a regular platform event stream using the subscription mechanism which the event supports.

Q. What exactly are considerations for Platform Events?

Unlike custom or even standard objects, you cannot update or even delete event records.
Additionally you cannot view event files in the Salesforce user interface.
Platform events do not have page layouts.
If you delete a platform event meaning, it is completely deleted.
You are able to set read and make permissions for platform events. Grant permissions to owners in profiles and in permission sets.

Q. What’s Event Retention period in the Event Bus?

High-volume platform event messages are saved for seventy two hours (three days).
Standard-volume platform event messages are saved for twenty four hours (one day).
You are able to retrieve previous event messages when working with CometD clients to sign up for a channel.

Q. Explain Order of platform Events?

In case you post several events in a single post call, the order of incidents in a batch is guaranteed for that post request. And so the purchase of event messages which are kept in the event bus and sent to subscribers complements the order of events which are passed in the phone call.

You are able to post several occasions in a few ways, like the Apex EventBus.publish procedure or maybe the REST API composite resource. For events posted throughout various requests, the order of events isn’t assured because publish requests could be prepared by various Salesforce application servers. As an outcome, a later request might be processed faster than an earlier request.

Salesforce assigns a replay ID value to some received platform event message and also continues it in the event bus. Subscribers receive platform event messages from the event bus in the purchase of the replay ID.

Q. Explain Publish Behavior of platform event?

Publish After Agree to hold the event communication published just after a transaction commits successfully. Select this choice if subscribers depend on data which the publishing transaction commits.
Publish Immediately to keep event message published once the publish call executes. Select this choice in case you would like the event message being posted regardless of if the transaction succeeds. In addition, select the choice in case the publisher and members are independent, along with subscribers do not depend on information committed by the publisher.

Q. Explain ReplayId System Field?

Every event message is given an ID found in the ReplayId field. The ReplayId field worth, that is populated by the device whenever the event is sent to subscribers, describes the role of the event at the event stream. Replay ID values aren’t certain to be contiguous for consecutive events.

Q. What’s Change Data Capture?

Change Data Capture event, or maybe alter event, is a notification that Salesforce sends whenever a difference to some Salesforce record happens during a create, delete, update, or perhaps undelete functioning. The notification has all changed and new fields, and also header fields that have info regarding the change.

Use change events to:

Get notifications of Salesforce record modifications, delete, update, including create, along with undelete operations.
Capture field changes for those records.
Get broad entry to other data no matter sharing rules.
Obtain info regarding the modification in the event header, like the origins of the modification, that enables disregarding changes that the customer of yours generates.
Perform data updates using transaction boundaries.
Make use of a versioned event schema.
Subscribe to mass switches in a scalable way.

Q. Can it be possible to Publish and also subscribe events between 2 distinct orgs natively?

Signing up to events from an additional org isn’t natively supported on the platform today.

Let us say org A publishes a Customer_Event__e. So it wouldn’t be easy for org B to sign up for events on org A.

Q. There’s a use case to sync account and also communication to outside system. Can platform events be implemented to upgrade outside systems if Accounts/Contacts in our org is produced and updated?

Platform events could be utilized to “notify” an external system that a Contact or Account is revised. Understand that a platform event directs a push notification through the streaming API. There is no guarantee the subscriber is going to receive it and yes it will not supply the subscriber with whatever they may have to authenticate getting the updated history in the exact same fashion outbound messaging does.

Change Data Capture will work for this particular situation. The updates will occur Asynchronously and also be processed as time can be purchased on the server. It Receive near-real-time changes of Salesforce records, and also synchronize corresponding data in an external information store. Change Data Capture publishes change events, and they stand for changes to Salesforce records. Improvements consist of construction of a brand new record, posts to a current record, deletion of a shoot, then undeletion of a shoot.