I am trying to run a very simple flow. But I ge tthis error and I do not know why.
"The execution of template action 'Update_item' failed: an unexpected exception encountered when evaluating branching condition."
I ran into the same problem this week and managed to resolve.
I have a flow where I have a response from an approval mail where the response can be a 1, 2, 3, 4 or 5 when I hit the respective button.
Switch recognises the 5, which I configured for testing to send a mail, but it failed with the above branching error message when trying to perform the actions under the Switch "Response Equals 5".
The problem appears to be that the numeric value should in fact be a string. If you change the e.g. Equals 5 to Equals "5", then it works.
Hope this helps. 🙂