cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JenkinsM
Regular Visitor

SharePoint Item is Created -> Update Item

Hi all,

 

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.

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

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' = "user@domain.com").'Last Visit'

Just substitute whatever you called the columns and data source and wherever you are getting the matching value from.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thanks for the help. I'll let you know how it goes!

Hi @JenkinsM,

 

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.

Annotation 2019-06-24 133204.png

 

Best Regards,

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.

 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (21,350)