cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JenkinsM
Level: Powered On

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
Super User
Super User

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.
JenkinsM
Level: Powered On

Re: SharePoint Item is Created -> Update Item

Thanks for the help. I'll let you know how it goes!
v-lin-msft
Level 10

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
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 358 members 4,312 guests
Please welcome our newest community members: