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

Syntax error in Approvals HierarchyBuilder.getManager function.

Summary:

Hai Guys , i want to use the HierarchyBuilder.getManager function to check whether the manager exists or not. I am using the below syntax. But getting the error saying incorrect parameters. Please help me in this.

HierarchyBuilder.getManager("LINE_MANAGER",Task.payload.transactionApprovalRequest.Requestor,-1,null,null)

Please help me.

Content (please ensure you mask any confidential information):


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!