When sending an Email via quick action, an error appears when leaving the CC field blank if an apex implementation of QuickActionDefaultsHandler sets
Last updated Yesterday ·Reference W-6945607 ·Reported By 9 users
hen sending an Email via quick action, the error "Error on parameter record: java://sfdc.uisdk.connect.api.output.RecordRepresentation" can be seen when leaving the CC field blank if an apex implementation of QuickActionDefaultsHandler sets an empty list for the ccIds fields of the email message.
- Actual Result
The error "Error on parameter record: java://sfdc.uisdk.connect.api.output.RecordRepresentation" is seen under these conditions and the email fails to send
- Expected Result.
The email should send just fine in this scenario
-Create an org with Lightning enabled
-Create a lighting console
-Ensure that the Email quick action is available on the Case lightning page
-Create an apex implementation of QuickActionDefaultsHandler that sets the CcIds field to an empty list (new List<Id>())
-Go to a test case, and attempt to send an email with the quick action without populating the CC field manually and you'll see the error message
Work around this issue by coding their QuickActionDefaultsHandler implementation to avoid setting an empty list for CcIds field
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.