Hi there,
I have a flow using initialize variable String with the following expression:
if (equals(item()?['field_8'], 'Name1'), 'Name1_email@address.com',
if (equals(item()?['field_8'], 'Name2'), 'Name2_email@address.com',
if (equals(item()?['field_8'], 'Name3'), 'Name3_email@address.com',
if (equals(item()?['field_8'], 'Name4'), 'Name4_email@address.com',
if (equals(item()?['field_8'], 'Name5'), 'Name5_email@address.com','')))))
I want to use the variable output for the Send an email action but the output is showing null even though the field has Name1.
Any help appreciated