This solution article sets out steps on how to record ad hoc student activity / attendance. In recording this activity it will ensure that the student is compliant.