Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Item will copy to another list, but won't delete from original.

(0) ShareShare
ReportReport
Posted on by 8

Good Day everyone, I'm a bit new to this and have a conundrum.

I have an Asset Inventory list, and one of the columns is a Choice value, one of which is Disposed. I am trying to create a flow that when an asset has the Disposed value, it adds that to a Disposed Assets list, and deletes it from the original. The first part works fine, and adds the modified date to the disposal date in the new list, but it doesn't delete the item from the Asset Inventory list. I assume it's something simple but I can't see what I'm doing wrong:

 

shot1.pngshot2.png

  • ccc333ab Profile Picture
    1,144 on at
    Re: Item will copy to another list, but won't delete from original.

    Oh trust me, we all do! There is so much you can do with Power Automate, nobody knows everything. 

  • Jill-Sandwich Profile Picture
    8 on at
    Re: Item will copy to another list, but won't delete from original.

    Thanks, that did it. I have much to learn!

  • Verified answer
    ccc333ab Profile Picture
    1,144 on at
    Re: Item will copy to another list, but won't delete from original.

    OK. So the outputs('Create_Item')?[/body/ID'] is the ID from the Disposed Assets. Not from the Asset Inventory. 

     

    Delete that ID from the Delete Item, and go and select the one from the Asset Inventory (you'll have to scroll down your list as the order usually starts from the most recent actions). If you have selected the correct ID, when you hover over it, it should say:  triggerOutputs()?['body/ID'].

     

  • Jill-Sandwich Profile Picture
    8 on at
    Re: Item will copy to another list, but won't delete from original.

    runfail.pngrunfailexpanded.png

     

    Thanks, yes I amended the delete part to go outside of the condition. In Sharepoint the field is Choice (Active, Faulty, Awaiting Disposal, Disposed). When I hover over the ID on delete item it says outputs('Create_item')?['body/ID']

  • ccc333ab Profile Picture
    1,144 on at
    Re: Item will copy to another list, but won't delete from original.

    Can you do the following: 

     

    1. Show the run itself, specifically showing the Condition and the Delete Item step. 

    2. You say you put the Delete item outside the Yes/No condition....but the condition I see here is checking for the word disposed. Is this field a yes/no column in SharePoint?

    3. Can you also take a screenshot (or type out) what it says when you hover over the ID on your delete item step. 

  • Jill-Sandwich Profile Picture
    8 on at
    Re: Item will copy to another list, but won't delete from original.

    I don't get an error message, it creates the Disposed item in the Disposed list, but then doesn't delete it from the Asset Inventory list.

    I've tried putting Delete Item outside the Yes/No condition, but it doesn't help.

    The only ID options I get are from the Disposed List and the Asset Inventory. I don't want it deleting from the Disposed List, so the only option is Asset Inventory ID.

  • ccc333ab Profile Picture
    1,144 on at
    Re: Item will copy to another list, but won't delete from original.

    Are you receiving an error message, or just nothing is happening. 

     

    Can you also just verify that your ID in hour delete item is the correct ID? It should be the ID from the trigger outputs, not from the create item action you just create it right above. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,631 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,991 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow