Is your Condition not working as expected?
The problem is when we use a Condition action inside Power Automate, we cannot see the “equation” that is being evaluated when looking into the run.
The problem affects how we can troubleshoot, the following solution will show what is happening inside the Condition action during the run.
In this scenario, I am checking:
If one value is greater than a second value
Now during a test run, I expect to see this condition true, but in my run it is always showing false and going in the If no branch.
The big problem is though, I cannot see what the values being evaluated look like. Take a look below
Clicking on the “Show raw inputs” is also not helpful..
So what is this quick and easy solution to see the condition results? A simple ‘Compose‘ action.
Lets take a look:
First add a Compose under your Condition
Next copy the values that are in the Condition to the Compose.
My Compose now looks like this:
Now make sure the Compose is above your Condition.
I am just dragging the Condition below the Compose
Next, we can run the Flow again, and see what the Compose can tell us:
Yikes! We can see our 2 values that are being evaluated are both 15.
And 15 is not greater than 15. This is why its returning false.
In my opinion, this should be already visible inside the Condition action. To get this feature added to Power Automate, we can vote on this feature. Head over to the Community Forum and vote for this idea.
The more votes, the better the chances of the Product team implementing this.
Thank you for reading, and have a great day!