For more information, please refer to this announcement explaining best practices for getting answers to questions.
How to get Proxy Line manager details in approval configuration in case of Role Delegation
Summary:
When LM delegates role/approvals to proxy LM then Proxy LM can raise individual compensation requests for direct reports of delegator.
When LM raises request it gets auto approved but when proxy LM raises the approval rule for employee getting triggered which is wrong.
Rules
For Line manager:
(GetManager("LINE_MANAGER",Task.payload.Worker's Current Assignment.result.Assignment Supervisor) equalsIgnoreCase transactionApprovalRequest.Requestor)
For Employee: (GetManager("LINE_MANAGER",Task.payload.Worker's Current Assignment.result.Assignment Supervisor) != transactionApprovalRequest.Requestor)
We need an attribute to get the delegator user details to add additional conditions to existing rule. Let me know if any one have any solution.