I have a workflow that was in O365 that I am trying to upgrade to NWC. Everything went pretty well except two fields/variables. In SharePoint I have a list that has two fields that are people fields. They are single select that pick from two different SharePoint groups. After the upgrade, I can’t select that field because it is greyed out. I have a third field in SharePoint that is multiselect people field that works just fine. Can someone point me in the direction of how to get the email address of the people picker fields?
Person field greyed out after upgrade

Best answer by Prineel_V3
Cool. Its progress.
We can use that ID (Its the user’s ID) to query a webservice and then query json to get the user’s email and name:
1. Use a call a SP web service action and in the URL section, put your site URL followed by “_api/web/getuserbyid(INSERT COLUMN ID HERE)” and output it in an object:

2. Use a Query JSON action and use the response content variable from your previous action’s object with the following expression “$['d']['Email']”. Output it in a text variable.

You can do the exact same for the name, just use this expression “$['d']['Title']”
you can also test if it returns the correct user by putting your site url with the _api/web/getuserbyid(userID) link directly in a browser tab.
If this doesn't work, try using the following api URL instead
_api/web/siteusers/getbyid(userID)
Hope this helps
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.