In one of our workflow, we have switch case statement within do until with set variables that navigates to different case. At times, the Do loop is completed without transfering to case statement.

Even though value is what is expected in the Case Statement, some times it's ending the loop without going to the case statement.
This behavior is inconsistent since it works at times. This used to work without any issues and we are seeing this change today; Either when approved or rejected it's not working correct.
How do we fix this issue?