cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Send E-Mail Notification based on version history comparison in SharePoint

So I created a Flow that Sends an HTTP request to SharePoint and obtains the version history from my list thanks to a post by @ScottShearer . Then it identifies if a change in the column "Work Phone" has been found. IF a change is found in the newest version, I need an email to send out with the new phone number but I am currently getting all version history. How do I get just the latest entry?

 

Email Notification.PNGParso JSON Flow.PNGSend Email of Current Version if Changed.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

@Anonymous :

To resolve your issue, remove the Create HTML table and any reference to the HTML table.  Just reference the phone number column from the When an item is created or modified trigger in the email.  The data from that trigger will reflect the current version.

 

 

 

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

Scott

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

@Anonymous :

To resolve your issue, remove the Create HTML table and any reference to the HTML table.  Just reference the phone number column from the When an item is created or modified trigger in the email.  The data from that trigger will reflect the current version.

 

 

 

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

Scott

View solution in original post

Highlighted
Anonymous
Not applicable

@ScottShearer you rock! thank you so much.

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.

Top Solution Authors
Top Kudoed Authors
Users online (10,674)