Send Notification to Line Manager (Reports To) of the Employee

Hi Everyone,

Firstly, kudos to the team who built the dream.

I have to send notifications via email to line managers (Employee’s Reports To) if an employee is about to complete his/her probation period.

I’m trying to use ERPNext’s Notification system for this purpose but the problem is it will send emails to the recipients based on a specific role, but I want to sent the email only to the line manger of that particular employee.

I think it can be done via condition field in recipient’s table

Let me know your thoughts on this one.