
Requirement is to create an appointment for contact and set email address3 instead of contact email address1
I'm using pre operation create\book plugin to create an appointment with email address3 using "addressused" but it is always setting the required attendees as contact emailaddress1.
if hardcoded email address is assigned to addressused, plugin is setting the same email address on appointment record.
if retrieved contact email addres3 is used, then it is showing contact record with email address1
Same logic works fine while sending an email to contact.
Any help would be really appreciated!!
Thanks