I thought I had this one licked, Hilary Stoupa had helped me get it to work on a different form, so I tried to repeat it on a new one and I'm not getting any results.
I have a people picker where when a user selects a person should populate other fields. I've set up rules on 'selectedaccount' field.
One: Set a field's value with the Field set to 'AccountName' and the Value set to the 'selectedaccountfield'.
Two: Query for data with the GetUserProfileByName Data Connection
Three: Set a field's value with the field set to one of the fields which needs to auto populate with the Value being: Value[Name = "Department"]. Screen grab below, I'm not getting any results when I'm selecting people. Am I being thick? Form attached.