Hi All,
I've a challenge with the following case:
I want to update multiple users in to a person/group column.
The users that are required, are stored in another list, where I can get the details.
In some case, multiple users equals to the condition, so all this users needs to be added to my SharePoint column. At this moment there is an override.
My flow is setup as follow:
In the compose I've setting up the person field from list 2.
I've tried to follow this post, but that's not working.
I'm cannot set a variable with data from the get items action and also I can select the compose data from my dynamic field.
Does anyone know how to achieve this?
Thanks.
Solved! Go to Solution.
Hi @DBG88,
What are you setting in your Compose action?
I have just done some tests. I think the issue would be that when collecting a people field from another list you would get much more people columns than just the claims column. See the screenshot below.
I think to workaround this you can just collect the claims value and append that to an array variable. Below is an example of the concept of this. Hopefully this helps a bit.
1. First collect the people column from the get items in a Compose (in my case that column is called SMEs)
2. Get the claims value from that in another compose action
3. Append the Claims value like in the post you mentioned earlier
4. Update the original item with your appended array.
Hi @DBG88
You need to iterate all the multiple users email and construct the following format
[
{
"Claims": "test1@test.com"
},
{
"Claims": "test2@test.com"
}
]
Please have a look at my video tutorial
Power Automate - How To Update SharePoint People Or Group Column - YouTube
If you need any further help please let me know.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsHi @DBG88,
What are you setting in your Compose action?
I have just done some tests. I think the issue would be that when collecting a people field from another list you would get much more people columns than just the claims column. See the screenshot below.
I think to workaround this you can just collect the claims value and append that to an array variable. Below is an example of the concept of this. Hopefully this helps a bit.
1. First collect the people column from the get items in a Compose (in my case that column is called SMEs)
2. Get the claims value from that in another compose action
3. Append the Claims value like in the post you mentioned earlier
4. Update the original item with your appended array.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
40 | |
38 | |
36 | |
35 | |
28 |
User | Count |
---|---|
39 | |
39 | |
34 | |
30 | |
23 |