Implement transaction setFlow.