I have a flow that sends data into a SP list for the company I work for. The data that is being pushed in would easily be duplicated. So put a condition action in place that basically says if an ID number from the data coming in matches an ID number from the list, to just update that particular item so that I can avoid duplicates. I also set that column to require unique values to safeguard even further against items being duplicated multiple times. The only problem is even when the IDs are of equal values, the condition evaluates to false and attempts to create a new item and fails due to the requirement to have unique values in that particular column. Please see the screen shot and please help. Thank you in advance.
For some troubleshooting, try setting a compose in the false section that captures both the Title and ID and you can compare them to make sure they are the correct values.
If they are try making sure they are both the same types. In the condition use the expression string(your_dynamic_variable) to make sure they are both set to the same type. Or int(your_dynamic_variable) if the ID is a number, etc.
Thanks for the help.
Can you post screen shots of your Flow in design/edit mode. Please make sure that you show the detail of the update Item action.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional