Create a list ‘TestFlow’ with a Title and a People field SecondarySiteOwners. Note: Make sure you set the Allow multiple selection
Create a Flow will the Item Added event trigger
1: Add an action to initialize a String variable.
2: Add an action to initialize an Array Variable.
3. Add Apply Each loop to loop though the Secondary Site Owners. In the inner action add an action to append array,
Note: in the Value fill the following expression.
4. Now do the join in the array variable with the join character as ‘;’ (semicolon).
5. Now assign the new output of Join to the String variable for you to use to add to CC or TO line of your email.
Now your ‘SiteOwners’ String variables will have the following values with ‘;’ delimited string.
I have two fields that are multiple people. CC and BCC. I can get it to work for only one of them but not both. I tried to set up parallel tracks following these steps but I’m guessing it is the apply to each section that is giving me issues. Any help would be appreciated.