Problem extracting email address from a person-group column
-
08-10-2020 - |
سؤال
I have "Person or Group" column in a custom list of a sharepoint online site. The users get pulled up fine when adding or editing the list item. In the SP 2013 workflow designer I am not able to get the email address out of this column. The only thing I get in return is blank in the Title column. What should I do to get the email address from a Person-Group column?
My final objective is to build a comma delimited string of unduplicated email addresses which can be sent email at the end of the workflow.
Thanks.
المحلول
Being a newbie, I didn't know that I can get the email addresses directly through the REST call. What I was getting was the StaffId from the plain REST call I was making. I read up on some of the parameters like $expand and $select that could allow me to get to the person-group column details like email address, department, etc. This solved my issue.
Thanks for all the feedback!