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:
Oh trust me, we all do! There is so much you can do with Power Automate, nobody knows everything.
Thanks, that did it. I have much to learn!
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'].
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']
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.
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.
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.
WarrenBelz
146,631
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,991
Most Valuable Professional