Absence Approval for the HR Administrator
I have configured the absence approval flow so that the last approver is the PAY_REP area of responsibility, but the employee who is in this area of responsibility should not approve their own request.
Conditions of the collaborator requestor rule: (absencesApprovalsRequest.absenceDispStatusCd == “FUNC”) AND (getAbsenceEntryByTransactionIdResponse.result.legislationCode == “BR”) AND (absencesApprovalsRequest.Requestor != “PAY_REP”,Task.payload.getRepresentativeListResponse.result))
I managed by username, but by area of responsibility it's not working. In addition, when the Line Manager requests approval for the participant in the area of responsibility, the flow should be approved and not go to the area of responsibility that the employee is in.