Try using the equals method.
Refer: Azure routes network traffic between all subnets in a virtual network, by default.
e.g. equals('abc', 'abcd')
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How do you compare two variables in a Logic App? I've tried using the "Condition"
Is it possible to use the "Condition" logic app to compare two dynamic variables? I've got these two variables that are both strings. I know they're equal to each other, but it keeps returning false. If variables cannot be compared this way, then how?
Try using the equals method.
Refer: Azure routes network traffic between all subnets in a virtual network, by default.
e.g. equals('abc', 'abcd')
@James Arndt Your condition looks good to compare the two string variables. The only scenario that I could think about is when the condition is getting false when you are assigning the value of any of these variables inside the loop. When you assign the value inside the value of the variable will be overwritten as the loop by default runs in parallel. If this is the case you need to run the loop sequentially or any other action that is running in parallel and assign the variable value inside it.