Skip to main content

I have a requirement to retrieve UserProfile information for the 'Award Recipient' entered, not the submitter – the form auto populates the recipients information using the UserProfileLookup function  (i.e. Title, Manager, Department, Mail Code, etc.).    

Runtime Function – userProfileLookup

Named Control – AwardRecipient

Property to retrieve – “Title”   

 

I would like to achieve this same functionality (userProfileLookup) within a workflow.  Do you know if there is any way to achieve this in the standard version on Nintex?

Nintex 2013

Hi Kathleen,

in the standard version you should also have the "Call web service" action. You can use this action to call SharePoints own UserProfileService and execute the "GetUserPropertyByAccountName" method.

196184_pastedImage_3.png

You have to store the result in a text variable.The result will be a rather large chunk of XML with alle the profile information from the user. You can use the "Run now" option in the ribbon to test your web service call from inside your workflow and check if the result is what you expected.

Afterwards you will have to use a "Query XML" action to extract the user property you need from the web service result. You can either use the XPath builder or create your own XPath statement to get your title property.

196185_pastedImage_4.png

Regards

Philipp


Reply