SOLVED

Copy multi-select people column from one list to another

Copper Contributor

How do I fill the section highlighted in red? It works when I pick a name from the list, but I am filling it with more than one name. Is it possible?

 

The input array looks like this:

[
{"Claims": "i:0#.f|membership|email address removed for privacy reasons"}
]

 

NewBee117_0-1690408635136.png

 

3 Replies
best response confirmed by NewBee117 (Copper Contributor)
Solution

Hi @NewBee117 

To copy multiple people from one list to another, you can follow these steps:

  1. Ensure that the destination column in the second list allows multiple selections.
  2. Modify the input array to include multiple entries, each representing a different person you want to copy.

The modified input array would look like this:

 

[
    {"Claims": "i:0#.f|membership|email address removed for privacy reasons"},
    {"Claims": "i:0#.f|membership|email address removed for privacy reasons"},
    {"Claims": "i:0#.f|membership|email address removed for privacy reasons"},
    ...
]

 

Replace email address removed for privacy reasons, email address removed for privacy reasons, etc. with the email addresses or user identifiers of the individuals you want to copy to the second list.

By doing this, when you copy the data from the first list to the second list using the modified input array, the "Claims" column in the second list will be populated with multiple names as per the entries in the input array. Each entry in the "Claims" column will represent one person from the original list.

If the destination column in the second list doesn't allow multiple selections, you may need to adjust the settings or change the column type to allow multiple selections before proceeding with the copy operation.

@NewBee117 Follow the steps:

  1. Click on T-shaped icon (Switch to input entire array) next to your column multiple selection person column name: ganeshsanap_1-1690796955535.png
  2. Then enter your input array in below format: ganeshsanap_0-1690796853086.png
  3. Save and run your flow. It should work for you.

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

@NewBee117 Which response (out of above two responses) helped you to solve your issue? I think you marked wrong response as best response.


Please consider giving a Like if my post helped you in any way.

1 best response

Accepted Solutions
best response confirmed by NewBee117 (Copper Contributor)
Solution

Hi @NewBee117 

To copy multiple people from one list to another, you can follow these steps:

  1. Ensure that the destination column in the second list allows multiple selections.
  2. Modify the input array to include multiple entries, each representing a different person you want to copy.

The modified input array would look like this:

 

[
    {"Claims": "i:0#.f|membership|email address removed for privacy reasons"},
    {"Claims": "i:0#.f|membership|email address removed for privacy reasons"},
    {"Claims": "i:0#.f|membership|email address removed for privacy reasons"},
    ...
]

 

Replace email address removed for privacy reasons, email address removed for privacy reasons, etc. with the email addresses or user identifiers of the individuals you want to copy to the second list.

By doing this, when you copy the data from the first list to the second list using the modified input array, the "Claims" column in the second list will be populated with multiple names as per the entries in the input array. Each entry in the "Claims" column will represent one person from the original list.

If the destination column in the second list doesn't allow multiple selections, you may need to adjust the settings or change the column type to allow multiple selections before proceeding with the copy operation.

View solution in original post