The problem I have is, I have a flow that triggers when and item is created. This flow copies items to another list. The items it copies over
- single line test fields
- Multi line text fields
- People Picker single selection
- People picker multi selection
All items make it over properly except for the Multi line people picker. Initially it would wrap the multi people picker in the apply to each (for each loop). If there was more than one email it would run the flow multiple times causing multiple entries on the destination list. I was able to solve this by adding the initialize and set variable actions.
At first I had it set as a string taking the create item out of the apply to each loop but it would combine the emails in to one causing the people picker not to be able to distinguish between the emails giving an error message that it can not find the user . Example: The emails entered in the people picker are [email protected] and [email protected]. Flow errors output [email protected]@123.com.
I fixed this by initializing and setting the variable again but setting it as an array. The output would separate the entries as it should. it would recognize the multiple emails and individuals i.e. "[email protected]", "[email protected]". But it still gives me the message that it couldn't find the users.
The out come I'm looking for is for it to see the emails as individuals in the people picker > Copy over to list2 people picker so it can generate an email using those emails addresses.