Getting a user's Line Manager and assigning a Task

  • 13 February 2018
  • 6 replies
  • 28 views

Badge +10

I tried using InfoPath to get a users Line Manager's name so that I could I automatically assign them a Worflow task, but I can't get it to work, so is they I can retrieve the Line Manager's name using Ninetex?


6 replies

Userlevel 5
Badge +14

there is a Query user profile workflow action

https://help.nintex.com/en-US/nintex2013/help/#Workflow/RootCategory/Actions/Nintex.Workflow.QueryUserProfile.htm%3FTocP… 

in forms you could use similar runtime function userProfileLookup()

https://help.nintex.com/en-US/nintex2013/help/#Forms/RootCategory/Designer/Nintex.Forms.RuntimeFunctions.htm%3FTocPath%3… 

Badge +10

Hi Marian

I don't think I have access to the Query User Profile action as I'm on Nintex Cloud and using InfoPath forms.

Userlevel 5
Badge +14

I'm not experienced with infopath, but here I've found am article describe how it could get user profile data

InfoPath – Get user information without writing code (extended) « Clayton's SharePoint Madness 

Badge +10

I managed to get this help with a little help from a colleague. For anyone else facing the same issue I used a Build String action and added {Common:ManagerDisplayName} and assigned it to a text variable. I then used that text variable one the assignee, bingo! It worked!

Userlevel 5
Badge +14

I used a Build String action and added {Common:ManagerDisplayName}

hm, was it really NWCloud  workflow?

Badge +10

Actually checking it again I think it's 2010. It's just the email alerts I get say they're from cloud@...

Reply