SK SKYVVA Documentation

1. How to use apex trigger to send real time data change to Agent?

Learning Objectives

A Change Data Capture event, or change event, is a notification that Salesforce sends when a change to a Salesforce record occurs as part of a Create, update, delete, or undelete operation. User has to create Account in SalesForce, it should trigger an event and send this Account Information to MS SQL Server DB of our organisation. Once it's inserted in our SQL DB, it will create particular AccountID and give it back to SalesForce. The notification includes all new and changed fields and header fields that contain information about the change.

Introduction

The reason user need to accomplice this is our Account creation process used to start from Our own SKYVVA product so it was creating AccountID (Auto Generated) from DB and used from Primary identification for Account across the system. Now we want to create Account from SalesForce but need to keep AccountId generated from SQL DB. For example, header fields indicate the type of change that triggered the event and the origin of the change. Change events support all custom objects and a subset of standard objects.

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]User have to click on link below through which user get configuration about, How to Consume the change events using an apex trigger.[/su_box]

How to use the Salesforce CDC change event to send data to Agent?

Users can be experienced how SKYVVA Change Events to synchronize changes to the Salesforce records in your SQL server Db Management system. SKYVVA can Change/Update events the same way you subscribe to other events. Go to Microsoft SQL Server Management Studio –  Download Microsoft SQL Server Management Studio...

Connect to Server

Now go to Salesforce Click on Adapter Tab

Now go to the Agent and Select your Integration which you just created

Now see Interface Source Definition

Go to Salesforce Org and click on Message Monitoring

Open SQL Server Now

Now Change/Update on Salesforce Org.

Open SQL Server Now

Open this article in the interactive viewer →