How to configure approval rule for an employee having no line manager.
Well I have been configuring an approval rule where when administrator or HR is doing a transaction for an employee having no line manager, it gets failed.
I tried with
(transactionApprovalRequest.Requestor != GetManager("LINE_MANAGER",Task.payload.Worker's Current Assignment.result.Assignment Supervisor)
(GetManager("LINE_MANAGER",Task.payload.Worker's Current Assignment.result.Assignment Supervisor) == "") , then also it is not working.
Could I get any suggestions or advice on this?
2