Performance Document Approval
Summary:
Performance Document Approval
Content (please ensure you mask any confidential information):
Employee = E1
Manager = M1
AOR Approver = E1
There is a business requirement that when Manager evaluates Employee's performance document then it should go to AOR approver. There is a special scenario that if Employee and AOR approver are same then when manager submits the document then it should be auto approved. In above example it should not route to E1 when M1 completes the evaluation.
We tried this rule but it didn't work.
((transactionApprovalRequest.requestor!= null) AND (GetRepresentative("AOR_NAME",Task.payload.Worker's Representative.result) != PerfDocApprovalTaskPayloadType.Worker'sAssignment.result.User Name))