1

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
  • Attachments

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.

Or when I try to enter an delineator like a semi colon it adds it to the end of the email saying [email protected];[email protected]; Could not be found still looking at is as one ling string.

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.

1 Answer 1

1

Follow below steps for copying multiple selection person or group column values from one list to another list:

  1. Add "Initialize variable" action with array variable

  2. Add "Apply to each" action with multiple selection person or group column and inside loop add "Append to array variable" action in below format:

    enter image description here

  3. Then use this array variable inside Create item or update item action (for list 2) as per your requirements:

    enter image description here

Reference: Copying Multiple Choice & Person Picker Fields Between Lists

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.