I'm using state machine for the first time and it was working fine until today. I added a log history to pin point where the problem is but I don't understand why it's happening. In my image below, the state machine starts off in the correct branch but then loops about 250 times (log history action) and never gets to the switch.
This is what the log history logs 250 times. The text you see is what I added in the log history "Pending Chief Approval Branch Before Switch"
Any idea what I'm doing wrong? Thanks!