AnsweredAssumed Answered

Query a list filtering a people picker field

Question asked by rvanandel on May 13, 2015
Latest reply on Jun 4, 2015 by maja

My workflow needs to be able to query a list filtering on a people picker field. I've been struggling to get this to work. It appears that the filter requires you to use the numeric ID for the user and I'm not sure how to retrieve this value. 

 

My workflow queries an AD list and retrieves all the members of the group. This reqults in the distinguishedName of the user. I then query AD to get the samaccountname for the user.  This is as far as I've been able to go. From there, I've tried using a person variable, assigning the samaccountname value and then using the person variable in my query.  I've also tried using the user's display name, and that doesn't work either.

Outcomes