Skip to main content

Create three objects : 

 1.News letter

 Fields :-

 Name

 Created by

 News__c

 Name

 Owner

 2. Appointment

 Fields :-

 Name

 Created

 date of availability

 Location

 Owner

 3. subscribe__c 

 Fields :- 

 Name

 Email

 Location__c

 subscribed for

 Subscribed email

 Appointment

 

 Subscribe will a junction object and it will be related to both Appointment and News letter in a lookup relationship.

 When the date of availability field is populated on the appointment object the subscriber should get a notification saying the appointment is scheduled for so and so date based on platform event.

 create a platform event and it should send a notification to the subscriber email whenever the date of availability is populated on the appointment object.

How can we achieve this functionality.

 

#Salesforce Developer  #Platform Events  #Salesforce Admin  #Salesforce

0/9000