Hello, I have created one system notification for compensatory leave request doctype like below,
Now, I want to put a condition in the Recipients table, that this notification should be sent to the leave approver of a particular employee in the compensatory leave request
For that, I have linked the leave approver email for particular employee in the compensatory leave request
I have tried this “doc.leave_approver==frappe.session.user”, but it doesn’t work
Can anyone suggest me a way for doing that?
Thanks!