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

How to recognize all upper level managers in Approval Rules?

Received Response
102
Views
20
Comments

Summary:

 How to recognize all upper level managers in Approval Rules?

Content (required):

We have a problem here. We had a Termination approval rules configured, if the transaction is submitted by line manager and worker's person type is Employee, then do something. But in our organization, sometimes the transaction will be submitted by line manager's manager or upper level manager, then this logic won't work. How to recognize manager's manager, and all upper level managers?

((transactionApprovalRequest.Requestor == GetManager("LINE_MANAGER",Task.payload.Worker's Current Assignment.result.Assignment Supervisor)) AND (Worker's Current Assignment.result.User Person Type == "Employee"))

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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