complete workflow for teacher applying course and xld approving