LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

Send Better Email - Null value in BCC when clearing values

Open anthony-grantbook opened this issue 3 years ago • 3 comments

When you add a BCC address manually/as a string, and then clear the value it sets the SendBCCToThisOneEmail as 'null'. This subsequently causes the email action to fail with

An Apex error occurred: SendBetterEmail.InvocableActionException: No Messages were sent. First Error: nullError Code:INVALID_EMAIL_ADDRESS

Steps to reproduce the behavior:

  1. Fill in component fields
  2. enter an email in the 'send to this one bcc' field and confirm
  3. Click 'clear' below the email input section
  4. debug the component

Expected behaviour

there should be no value in the field

Actual behaviour

field is set to 'null' and the apex action fails

Screenshots

image

it's easy enough to re-create the components, but thought i'd report.

anthony-grantbook avatar Dec 02 '21 02:12 anthony-grantbook

Thanks - will fix this in next release

jdpond avatar Dec 02 '21 14:12 jdpond

any ETA for next release?

jyvisuals avatar Aug 16 '23 13:08 jyvisuals

I'm pretty sure I fixed this, but may have gotten reverted with the @future release. Will look into it.

jdpond avatar Aug 16 '23 14:08 jdpond