@Thomas Johnson This is likely because of the types like you've mentioned. If the input is the string of a number, you need to compare against the expression string(204) instead of just 204
. Or the other way of comparing the expression int(<token>) to the numbers the way you have now.
Bug: Logic App debugging showing wrong case as exectued in designer
Thomas Johnson
66
Reputation points
When debugging a Logic App Run online, a Switch action sometimes marks the Default as being ran with a green question mark instead of the case that was executed. I noticed this mainly when the switch is on a string that contains digits only. Attached is a screenshot.
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,551 questions
2 answers
Sort by: Most helpful
-
Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
2021-08-24T13:26:07.697+00:00 -
Thomas Johnson 66 Reputation points
2021-11-23T14:03:53.68+00:00 Thank you. This is a good "workaround" to getting the debug page to display correctly.
I still think the debug page should display correctly without us adding "extra" code.