Hi,
In one of my custom entities I am having total 4lookups to accounts.
Below are the scenarios I have to cover in my requirement.
scenario 1:If all the 4 lookups contains same account, then I have to send the email only once.
scenario 2:If all the 4 lookups contains 4 different accounts then I have to send 4 emails to that accounts.
scenario 3:Out of 4 , 2 accounts are similar and other 2 are different accounts then 3 emails should be sent in total.
The email content will be dynamic and will be same for all them.
Any help or guidance is highly appreciated.