Email alert rule for late expense claims

doc.status==“Open” served me perfectly for non-approved leaves. However, the scheduler reminds me that expense claim has no attribute called status.

What I aim is to remind leave approver that 24 hours (1day) passed and still he/she did not approve the leave which is related to him/her.

I am not sure but doc.status==“Draft” may work?

Yeah, or try doc.docstatus == 0

1 Like

Thank you very much