Auto attendance when employee login to ERP

Further as suggested by you and as mentioned in another links you shared, we created checkins manually but attendance was not automatically marked. what can be the problem?