In my flow I use Send an HTTP request to SharePoint (GET) _api/web/lists/getbytitle('ListA')/items
And part of the body looks like this:
"assigned": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@@odata.type": {
"type": "string"
},
"Claims": {
"type": "string"
},
"DisplayName": {
"type": "string"
},
In the next step I use Parse JSON and use the same as the body above.
And in the output i get a result that looks like this:
Do you want to copy items from ListA to ListB? You can try to use Get items and Create item action to achieve it.
I set up a simple flow , you can refer to the screenshots below to see if it helps.
This is my test ListA
Another list
Flow in details:
Assigned Claims Field, first choose 'Enter custom value',then choose 'Assigned Claims' from the dynamic content.
After flow runs, the items will be created in 'ListB'.
Hope the content above may help you.
Best Regards
If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for reply!
Im using this solution today (copy items), and its working but I would like to improve it.
Today I have 7 lists where users update information and with Flow I update all information to one masterlist for managers to monitor.
In current solution when an item is updated, we remove all items in the masterlist that is coming from that "sublist" and then resend them, but the flow is not quick enough so if the user updates two items within a couple of seconds the flow repost all items twice.
Maybe I could look into adjust the current flow to not remove all items insted just send the update, but when I started to look in to this I found I way to use the API and do batch updates which is a much faster procedure.
In the new Flow Im creating everything works, except for the "assigned" field and I wanted to give it a try and find a solution before I go back and adjust the current flow.
Best regards
Henke
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
25 | |
24 | |
23 | |
23 | |
17 |
User | Count |
---|---|
56 | |
39 | |
37 | |
30 | |
28 |