Condition to check if requestor is the second level manager of the employee — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Condition to check if requestor is the second level manager of the employee

edited Aug 13, 2025 1:55AM in Human Capital Management

Summary:


Content (please ensure you mask any confidential information):

We need to build a condition to check if the requestor is the second level manager of the employee for whom the leave is getting applied on system. How can we achieve this?

I found the below expression but it is not working for absence.

BPMHierarchyBuilder.getManager("supervisory",GetManager("LINE_MANAGER",Task.payload.Worker's Current Assignment.result.AssignmentSupervisor),-1,null,"LINE_MANAGER") == Task.payload.transactionApprovalRequest.Requestor


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!