I am trying to build an expression in the "To" field of the Send an Email action. I have a dynamic field that will either be blank, say "Pending Coverage" or include an email address. There are not other options for this field.
I need an expression that leaves the to field as blank if the field is blank or states "Pending Coverage" but includes the email address if it's an email address.
I have tried to write out the expression but am having trouble determining how to call the dynamic fields. Here is what I have currently:
if([Covering Provider 1 for Polk Dalton Clinic]=Pending Coverage, ' ', '[Covering Provider 1 for Polk Dalton Clinic]')
where Covering Provider 1 for Polk Dalton Clinic is the name of my dynamic field.