Hi,
In my flow I have a "get item" action based on ID
And I want to put a condition in this action :
If it finds no item : create an item with the ID
Else : update the item
I launch my flow but when it don't find item the "get item" return an error ... "item not found"
It doesn't go to the next step (condition)
The condition is : length(outputs('Get_items')?['body/value']) is equal to 0
If the length is 0, the item doesn’t exist yet, I can create it. If it’s not 0, the item already exists and I can use the ID from ‘Get items’ to update it.
But the flow failed when he doesn't found item in the "get item" action ...

Report
All responses (
Answers (