We use SharePoint to track our work site's visitors, and I'm working on a flow that will automatically check if a visitor has been here before, and if they have met certain requirements within the past year.
Where I'm currently stuck:
I search the list for the visitor's email address so, "email is equal to email." If yes, I need to copy a cell/date from that row and update the current item with that data. I don't know how to grab the row ID when the email is matched. I fear I don't know enough about this to perform an effective Google/Forum search as I've so far come up empty-handed.
Thanks in advance for any help.
Assuming you have a column in the SharePoint list that contains the email address of the vistor, called "E-Mail" and a date colum called "Last Visit" this would be the code to get the date in Last Visit for the first matching email.
LookUp('SharePoint Date Source name','E-Mail' = "firstname.lastname@example.org").'Last Visit'
Just substitute whatever you called the columns and data source and wherever you are getting the matching value from.
Have you solved your problem?
I also have a workaround here that you can refer to, you can add Get items Action to Get the corresponding Email address.
If the length of the return value is not equal to 0, extract its item ID.
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the new Process Advisor community forum board!
Check out new user group experience and if you are a leader please create your group
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Check out how to claim yours today!