I am using a switch case which passes approvals between individuals depending on a "status" variable. The approvals are sequential, however each approver can reject and request revisions from 1 of 2 people. This is why I created the switch case, to facilitate passing documents back and forth between people. The switch case leaves the "Do Until" loop when the status variable is changed to "Complete" after the final person has approved the documents.
Step 1: IM Approval Requested
This switch case executes successfully. The last step is that the "status" variable is updated - in this case the approval outcome was "approved" so the status variable was set to "AM Approval Requested".
Step 2: AM Approval Requested
Because the previous case was approved, the case changes to "AM Approval"
The problem is that the first action starts and ends before the status variable is redefined, and the case is switched. Notice that the start and end time for this step is 2:33:59 - 2:34:00 PM, but the end time for the previous step was 6:30:54 PM.
How can I stop the approvals from skipping? Instead they should wait until the switch case is changed...