Skip to main content

I am working on a workflow where I have to find a Manager of a manager (i.e. Employee -> Line Manager -> Manager). Another condition is to find this manager with a authorisation level. As an example, approval cannot be granted unless this manager has authorisation level of 4 (Auth Level is property in User Profile). Any ideas?

Hi,

 

You should be able to utilise the UserProfileLookup runtime function to grab the properties of the user. You would need to pass this through from the employee then the line manager to grab their manager. Same applies for the Auth level.

For example:

 

userProfileLookup(LineManager, "Manager")

 

 

Cheers,

 

Mark


And isn't it possible to use only 1 variable? Its value will be rewritten every time a new approval step is requested with the name of the person whose name is in the "Manager" field in AD. This name could then be used as an assignee for the next step of approval. No?


Reply