cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Maas
Frequent Visitor

Copy a list item to another list when a field is updated to true

I have a list with items. One field in this list is true/false.

I want to copy a list item, when this field is set to 'true' to another list.

 

is there a SharePoint copy list item available?


And if possible after that I want to delete the original list item.

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Maas
Frequent Visitor

How to use Boolean in Flow? That's the question.

'True' won't work in Flow.
You have to  'Edit in advanced options'.

See the red section below

 

@equals(triggerBody()?['Token_x0020_afgeschreven'], bool(1))

View solution in original post

6 REPLIES 6
Maas
Frequent Visitor

Anyone?

v-monli-msft
Community Support
Community Support

Hi Maas,

 

I think this can be done, please create the flow like below and test if this can be achieved.

00.PNG

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I've tryed that, but I get errors. See pictures below. Sorry it is Dutch language!

First picture is the build, second picture is the execution, with errors.

 

flow1.pngflow2.png

 

 

Maas
Frequent Visitor

How to use Boolean in Flow? That's the question.

'True' won't work in Flow.
You have to  'Edit in advanced options'.

See the red section below

 

@equals(triggerBody()?['Token_x0020_afgeschreven'], bool(1))

View solution in original post

Hi @v-monli-msft,

 

The issue we're having here is that the version history in the original list item is gone! Is there a way so that the version history is kept? Thanks.

in your Flow when you create the action "create item", be sure to:

- in "List Name", choose your destination list, i.e. the one where you want your item to be copied to

- for each field of the "new" list, add the dynamic content of the corresponding field in the "old" list. That's easy to do, you just click in the field, and in the "dynamic content" pop-up you choose whatever field has exactly the same name

 

It worked perfectly for me, with a minor issue whereby attachments seem not to be transferred, but that may be just an issue of view settings on my end

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (78,617)