cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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

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!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

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