Hello team,
I have a senario where I need to automate the sending of invoices to multiple contacts at the same time.
Right now I have a field on the Customer record which holds the emails separated by a semi-colon. This field writes to a plain text field on the sales order as store value, so it can be edited in the event of a one off. Then this field writes to an email field on the sales order which is not stored. This is repeated to the Invoice. From there, we have an email button and workflow that should be emailing using the non-stored email address field.
I am getting an unexpected error when I try to send the email. Is this because the non-stored email field can't be used to source the email addresses, or some other reason?
Is there a better way to achieve what I am trying to do?