We created a new Email Porlet entity to store the email type and email address of selected contacts. Contacts are classified to different types(Plan Sponsor, Trustee etc), contact entity has contact type field and email field. Below are the conditions that must be true for the email address in the E-mail field and contact type value in contact type field to be pulled into the email portlet(email address field and email type field respectively). Even if the E-mail field doesn’t contain an address, if the conditions are met the system should attempt to obtain the address. BPM will determine when and if an email address applies to the electronic signature delivery method.
Conditions to make email available #1 Plan Sponsor >Primary Contact Type (customertypecode) equals Plan Sponsor >Sponsor/Plan Administrator box is checked RESULT: Pull email from E-mail field (emailaddress1)
#2 Trustee >Primary Contact Type equals Trustee or Plan Sponsor >Trustee box is checked RESULT: Pull email from E-mail field (emailaddress1)
#3Other Plan Administrator >Primary Contact Type is populated with a contact type >Other Plan Administrator box is checked RESULT: Pull email from E-mail field (emailaddress1)
Any ideas how can we achieve this function?
Thank you very much