I have a simple list with one field I named ‘Recipient’. It is a name field that allows you to select other sharepoint users. The workflow has one action, send email that does a workflow lookup at the Recipient filed on the current item and returns the field as a semicolon delimited email address. When I create a new item and select myself as the recipient the email gets sent but if I select anyone else the workflow goes into suspend status with the following status:
It confirms what we suspected, when I select my name from the people picker it returns my email address. But if I select anyone else the email is blank. Only thing I see funny is when I’m in the people picker I don’t see any names in the ‘All Users’ bucket. I get them from the ‘Active Directory’ or ‘Organizations’ bucket. Don’t know if that means anything, we just started using sharepoint.
Hi Mike,
I think the best way to figure it out is capturing the Recipient field value in a variable.
So, add a “Set variable workflow” action and get the value of this field. Then, add a “Log on workflow history” action and log the value of the variable and see if it is capturing the right value. And in the “Send an email” action, put the variable on the “To” email field and do some tests.
Let me know if this approach helps you.