How can i get the manager of my manager in a workflow

  • 17 August 2017
  • 2 replies
  • 21 views

Badge

I'm a newbie in Nintex workflow Enterprise (for SharePoint server) and here in this Forum.

I suppose this questions are already answered many times here, but i can't find the answers of the following questions:

  • How can i get the manager  of my manager in a workflow?
  • How can i find to which SharePoint- or AD-Group the manager  of my Manager belongs to?

Many thanks for your answers!


2 replies

Badge +16

Hi

You can use the Query user profile action to get a manager of a given user (i.e. you) and store that in a person type variable - please shout if you haven't created variables before.  Then using the variable you can use the query user profile action again to get the manager of that manager.

Note: you can use only one query user profile action if it is the workflow initiator you need to find the manager's manager of as under the common tab you will find the variable "Manager" which is "The username (domainusername) of the manager of the user who triggered the workflow."

Badge +16

In terms of the groups, you could use a web service call to get the groups of a specific user like this:

Reply