If the subscription of contact changes then it will change the customer’s subscription status and subscription if the contact and customer have the same email id.
It will applicable when we change the Global subscription status and subscription of customer and it will update the subscription of contact with the same email id of the customer.
Jira code: SQUIP-409,SQUIP-346
Requirement
1)Need to update the Global subscription status and subscription of the Customer if the contact with the same email changes.
2)Need to update the Global subscription status and subscription of the contact if the customer with the same email changes.
Solution
A user event will be created. User event will compare the global subscription status of customer or contact with the customer or contact record which has the same email after the update of contact. If the subscription of the contact or customer changes then the subscription of the customer or contact with the same email also changes.
In the user event, if the contact or customer record updates and submit then the changes will be taken and the email id will be fetched then the contact with the same email id will be loaded and the subscription status and subscription will be updated.
Subscription changes.
Customer:
Contact: