// call passivate even if just returning to the current
// activity. but not if we are going back to a previous step
flowValidationResult = this.passivate(verifyValues, flowStepDirection);
if ( !flowValidationResult.isValid()) {
activateFlowActivity(getCurrentActivity(), FlowStepDirection.inPlace);
throw new FlowValidationException(getCurrentActivity(), flowValidationResult);
}
}
this.setCurrentActivityIndex(next);
currentActivity = getCurrentActivity();