Limiting test attempts

I'm trying to build a test that limits the learner to only one test attempt. Then if the learner fails the test it redirects them to another course. Any help?

Discussions have been disabled for this post