Approval rule for Document records if the requestor is the Line Manager of the employee
Summary: Approval rule for Document records if the requestor is the Line Manager of the employee
Content (please ensure you mask any confidential information): Hi all, I am trying to create an approval rule for document records where the requestor is the Line manager of the employee.
I am writing the below condition for manager, however system is throwing an error. Could somebody please suggest as this is urgent.
Attached is a screenshot of the Error. Would really appreciate is someone could help with the rule
(transactionApprovalRequest.Requestor == GetManager("LINE_MANAGER",Task.payload.Worker's Current Assignment.result.Assignment Supervisor))
Version (include the version you are using, if applicable):