I need to send mail to multiple people based on selected location..
lets say: I need to send mail to people based on selected location.
There are multiple location (A,B,C,D)
There mail needs to be sent to 4 people: (M1,M2,M3,M4).
If i select Location A then a mail should be triggered to that location only and all 4 people should receive mail for that particular location.
Can someone help with the logic
Discussion posts and replies are publicly visible
You should be prepared to show test data or at least redacted data if you're hoping to find help here with issues like this, since we can't just guess as to what values you're trying to pass into the email node.
Even if you can't share a screenshot of test data, sharing the expression for rule!AER_getEmail() would be helpful for us to help you troubleshoot.
rule!AER_getEmail()-- am trying to fetch email based on locationId
From your screenshot I still can't really judge whether we'd expect this expression rule to give valid output (i.e. a single valid email address or an array of string where each entry is a valid email address).
Anyway thanks mike will check with internal team then, if someone can help me out
Yeah I would say this needs to be run by someone with authorization to see the output of that rule, because from the error message you posted earlier it looks as if (at least in the instance where you go the error, if not all instances) no valid email addresses are being output.