cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Dual Super User III
Dual Super User III

Re: SharePoint Item is Created -> Update Item

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.
Highlighted
Regular Visitor

Re: SharePoint Item is Created -> Update Item

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

Re: SharePoint Item is Created -> Update Item

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,481)