Ticket #30934
I have a maintainer that uses a workflow to send an email on an add. If I type the email address as the recipient in the workflow, it works fine. IF I instead use a calculated field that is equal to the same email address, it blows up with status 500 application error (NullPointer Exception).
Informed customer that trying to set the email recipient equal to alpha database calculation will not work when submitting the maintainer specifically in add mode. When you're loading a maintainer in add mode, there is no record written at that point so the value of your calculation cannot have a value either. The missing value is the basis for the null pointer error the maintainer throws at runtime. If you want to pull the email in add mode, you'd need to appropriately lookup the email via a retrieval in the Workflow Designer prior to sending the email.
Asked on December 22, 2020