cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

How to get Manager in O365 Workflow?

Jump to solution

Leave request are never approved by the 'administrator account', but this is the account used in all examples..

Create a Leave Request Workflow in Nintex Workflow for Office 365


It seems there is no way to get 'the manger of the initiator' (like you would do in Nintex Workflow 2010/2013).... 


Can someone explain why this feature is missing?  I'm guessing this value could be retrieved using the Exchange Online EWS managed API?
I will have a very unhappy customer if this can't be done... Do I need to build it myself or is there a specific limitation that I'm missing?.

 

tnx
 

Labels: (1)
Reply
7 Replies
Workflow Hero

Re: How to get Manager in O365 Workflow?

Jump to solution

Hi Maarten,

Can you please check below link if it helps?

https://community.nintex.com/message/1629#1629

Thanks

Shirin

0 Kudos
Reply
Not applicable

Re: How to get Manager in O365 Workflow?

Jump to solution

Hi mvisser

               I have a one workaround it may be helpful for you...save the managers in one list like below

Mg.png

Then in O365 nintex workflow there is a option "Advanced lookup" using that based on the approver level we set the manager...

Step 1 : click "Advanced LookUp"

Step 2 : Change "Workflow Variables" to "List Lookup" then change the source to "Managers" list item

Step 3 : Then Change the field column to ManagerName

Step 4 : Then Change when column to "ApproverLevel"

Step 5 : Then  Value column to "ApproverLevel value(Level 1 OR 2  OR 3)"

Mg2.png

Note:

     In O365 Nnitex Workflow App have such limitation..They planned to release the full features like on premises in upcoming versionssss

0 Kudos
Reply
Workflow Hero

Re: How to get Manager in O365 Workflow?

Jump to solution

This might be a solution we could try, but SOAP webservices is soooo 2003 and Microsoft wil depricate it in the future,

Since 2 weeks we have the "App Step action" in Nintex for o365 so it might be better to query the SharePoint API from an (impersonized) App Step. The best way to get the user profile property (manager field) would probably be using the  (last week extended) CSOM API, right?

SharePoint user profile properties now writable with CSOM -


I'm pretty sure Nintex will add the 'query for manager' feature in a future release, so I would like to know from the product team if developing our own solution is the right move (My customer needs to go use this solution in 3 weeks).

0 Kudos
Reply
Workflow Hero

Re: How to get Manager in O365 Workflow?

Jump to solution

This would be an easy 'no code' solution.

0 Kudos
Reply
Highlighted
Workflow Hero

Re: How to get Manager in O365 Workflow?

Jump to solution

With the new Query User Profile Action this problem is solved New Release! Nintex Workflow and Forms for Office 365, and Nintex Mobile

0 Kudos
Reply
Not applicable

Re: How to get Manager in O365 Workflow?

Jump to solution

Thanks Maarten, glad it works

0 Kudos
Reply
Not applicable

Re: How to get Manager in O365 Workflow?

Jump to solution

Hey Maarten - another update. We just had a new release of Nintex Workflow for Office 365 today, and with it the ability to get the initiators manager property, rather than using the Query User Profile workaround 

New Release! Nintex Workflow for Office 365

Your Office 365 Manager

Nintex Workflow for Office 365 - Release Notes

0 Kudos
Reply