I've created a state machine workflow in VS. It has two states and a task in each state. If the 2nd task is rejected I want it to restart the 1st task.
So on the rejected path of the 2nd task i've put a 'set state' to 1st task. But this appears to be ignored and the workflow moves forward instead. What could be wrong ? I want the 1st task followed by the 2nd task to run again.