cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Query User Profile not working

Jump to solution

Hi I am using Query User Profile for fetching the Display name of a person field. But when I am running the workflow the workflow is failing with the following error message:

"Error querying user profile. No user profile found for user: 'i:0#.w|domain\ID'"

 

But I have checked with my SharePoint Admin and he says that there is a profile with that ID.

 

I have to fetch the name for my workflow. Please suggest some way.

 

Thanks,

Ratnesh

Labels: (2)
0 Kudos
Reply
2 Replies
Highlighted
Nintex Newbie

Re: Query User Profile not working

Jump to solution

Hi, do you try the request with only domain\ID?

You also can make a REST request on http://siteurl/_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyN...?@v='%27i%3A0%23.w%7Cdomain\ID' ​and make a query xml on the result

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Query User Profile not working

Jump to solution

You can use the "Set variable" action to have/extract this information.

For example:

DisplayName.png

and select "Display Name".

View solution in original post

0 Kudos
Reply