Approval Workflow Config
Summary:
Hi, We have a requirement, where if the employee has both line manager and functional reports to manager, then the notification should go to functional reports to manager or it should go to line manager. The config change i made to approval rule is sending the notifcation to functional reports to manager if both are assigned. But if there is only line manager, iam getting the following error
Assign a supervisor for 333488 in the supervisor hierarchy.
But the EE has a line manager assigned on the assignment.
Iam using the following code
HierarchyBuilder.getManager("supervisory",Task.payload.process.Requester,-1,null,"FUNC_REPORT") is not null